[CMake] ctest dependencies [SOLVED]

Tom Browder tom.browder at gmail.com
Mon Feb 3 07:02:53 EST 2014


On Mon, Feb 3, 2014 at 6:48 AM, Tom Browder <tom.browder at gmail.com> wrote:
> On Mon, Feb 3, 2014 at 3:20 AM, Petr Kmoch <petr.kmoch at gmail.com> wrote:
>> Hi Tom.
>>
>> You might want to look into the DEPENDS property of tests.
...
> but I need to find the property ctest gets for a pass/fail from each test.

I just found it (old eyes going blind).  This should work:

set_test_properties(
    TESTB
    TESTC
    TESTD

    PROPERTIES DEPENDS TESTA
)

Happy ctesting!

Best regards,

-Tom


More information about the CMake mailing list