[CMake] ctest dependencies

Tom Browder tom.browder at gmail.com
Sat Feb 1 13:17:04 EST 2014


I have a ctest test (say, TESTA) whose success I would like to have as
a dependency for a lot of other tests (say, TESTB, etc.).

Can I do something like (pseudo code:

if (TESTA passes)
  do other tests
else
  msg("all tests fail due to failure of TESTA")
endif

Thanks.

Best regards,

-Tom


More information about the CMake mailing list