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 <[email protected]> wrote:

> On Mon, Feb 3, 2014 at 3:20 AM, Petr Kmoch <[email protected]> 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
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to