Hi all,
If you are using subprojects and you have test-only subprojects, cdash will
show the labels of them as "(none)".
Attached you find a patch of index.php against CDash 2.0.2, which add
labels for tests.
Kind regards, Kiwi
--
Kay-Uwe (Kiwi) Lorenz
IT Department
ModuleWorks GmbH
Ritterstr. 12a
52072 Aachen
Germany
HRB 11871
Amtsgericht Aachen
Geschäftsführer Yavuz Murtezaoglu
--- a/index.php Mon Jul 16 15:05:05 2012 +0200
+++ b/index.php Mon Aug 20 15:06:13 2012 +0200
@@ -862,6 +862,15 @@
$build_row['labels'][] = $label_row['text'];
}
+ $label_rows = pdo_all_rows_query(
+ "SELECT text FROM label, label2test ".
+ "WHERE label2test.buildid='$buildid' ".
+ "AND label2test.labelid=label.id GROUP BY labelid");
+ foreach($label_rows as $label_row)
+ {
+ $build_row['labels'][] = $label_row['text'];
+ }
+
// Updates
if(!empty($build_row['updatestarttime']))
{
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake