[CMake] A patch for CDash to display labels from test-subprojects
David Cole
david.cole at kitware.com
Tue Aug 21 13:44:57 EDT 2012
Oops. Grrrrrr.... (switching from C/C++ to php mistake). Fixed here:
$ svn log -r 3275 && svn diff -c 3275
------------------------------------------------------------------------
r3275 | david.cole | 2012-08-21 13:42:56 -0400 (Tue, 21 Aug 2012) | 1 line
Correct typo - forgot . character to concat strings across lines
------------------------------------------------------------------------
Index: index.php
===================================================================
--- index.php (revision 3274)
+++ index.php (revision 3275)
@@ -865,7 +865,7 @@
$label_rows = pdo_all_rows_query(
"SELECT text FROM label, label2test ".
"WHERE label2test.buildid='$buildid' ".
- "AND label2test.labelid=label.id "
+ "AND label2test.labelid=label.id ".
"GROUP BY labelid");
foreach($label_rows as $label_row)
{
On Tue, Aug 21, 2012 at 7:09 AM, David Cole <david.cole at kitware.com> wrote:
> CDash svn revision 3274 in trunk -- thanks for the patch!
>
>
> $ svn log -r 3274
> ------------------------------------------------------------------------
> r3274 | david.cole | 2012-08-21 07:08:31 -0400 (Tue, 21 Aug 2012) | 1 line
>
> Include test labels on the main page too, especially for the case where
> there are no build labels. Thanks to Kiwi Lorenz for the patch.
> ------------------------------------------------------------------------
>
>
> On Tue, Aug 21, 2012 at 3:30 AM, Kay-Uwe 'Kiwi' Lorenz <
> kay at moduleworks.com> wrote:
>
>> Hi David,
>>
>> attached you find a patch, which avoids duplicates using an associative
>> array.
>>
>> Kind regards, Kiwi
>>
>>
>> On 20.08.2012 17:14, David Cole wrote:
>>
>>> But with the attached patch, *duplicate* labels are possible, and that's
>>> not desirable either. Could you make a patch that avoids duplicating
>>> labels that are already represented by the previous block of code?
>>>
>>>
>>> On Mon, Aug 20, 2012 at 9:19 AM, Kay-Uwe 'Kiwi' Lorenz
>>> <kay at moduleworks.com <mailto:kay at moduleworks.com>> wrote:
>>>
>>> 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
>>>
>>> --
>>>
>>> Powered by www.kitware.com <http://www.kitware.com>
>>>
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/**opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ>
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>>>
>>>
>>>
>> --
>>
>> Kay-Uwe (Kiwi) Lorenz
>> IT Department
>> ModuleWorks GmbH
>> Ritterstr. 12a
>> 52072 Aachen
>> Germany
>>
>> HRB 11871
>> Amtsgericht Aachen
>> Geschäftsführer Yavuz Murtezaoglu
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120821/ab9b8fc7/attachment.htm>
More information about the CMake
mailing list