[CMake] ctest and label time summary
Anthony Zukaitis
azukaitis at gmail.com
Wed Nov 1 16:41:18 EDT 2017
I found my error.... I wasn't setting my labels correctly.... i was setting
one big string and not a list..... user error :/.
On Wed, Nov 1, 2017 at 2:31 PM, Craig Scott <craig.scott at crascit.com> wrote:
>
> On Thu, Nov 2, 2017 at 5:09 AM, Anthony Zukaitis <azukaitis at gmail.com>
> wrote:
>
>> Is there a way to turn off the label timing information after ctest is
>> run with
>>
>> ctest -L mytest
>>
>> I have appoximately 100 tests that depend on a SETUP test. The setup
>> test has 100s of labels and this screws up the print out of the label
>> timing summary at the end of the ctest run. This is due to the want of
>> having dependencies of tests being run automatically. All of my tests
>> depend on a SETUP test. Using the label method:
>>
>> https://stackoverflow.com/questions/30808963/cmake-and-ctest
>> -automatically-run-tests-dependencies
>>
>> my SETUP test now has 100s of labels
>>
>> Thanks, Tony
>>
>
>
> I added an answer to that stackoverflow link. The test fixtures feature
> added in CMake 3.7 provides the behaviour you want. It doesn't rely on
> using test labels, so you'd be able to avoid the label clutter in your test
> report.
>
>
>
> --
> Craig Scott
> Melbourne, Australia
> https://crascit.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171101/e7714f15/attachment-0001.html>
More information about the CMake
mailing list