[CMake] ctest dependencies
Petr Kmoch
petr.kmoch at gmail.com
Mon Feb 3 07:37:34 EST 2014
Your tests B, C and D *depend on* test A. Therefore, you're (I believe)
looking for this:
set_test_properties(TESTB TESTC TESTD
PROPERTY DEPENDS TESTA
)
Petr
On Mon, Feb 3, 2014 at 12:48 PM, 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.
>
> Hi, Petr.
>
> I had looked into properties, but I'm not sure what property I'm
> looking for. For instance I'm using:
>
> PROPERTIES WILL_FAIL true
>
> but I need to find the property ctest gets for a pass/fail from each test.
>
> That way I can add something like
>
> set_test_properties(TESTB TESTC TESTD
> PROPERTY TESTA_MUST_PASS true
> )
>
> Do you know what that is or how to do it?
>
> Thanks.
>
> -Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140203/80dcfe7a/attachment-0001.html>
More information about the CMake
mailing list