1DEPENDS 2------- 3 4Specifies that this test should only be run after the specified list of tests. 5 6Set this to a list of tests that must finish before this test is run. The 7results of those tests are not considered, the dependency relationship is 8purely for order of execution (i.e. it is really just a *run after* 9relationship). Consider using test fixtures with setup tests if a dependency 10with successful completion is required (see :prop_test:`FIXTURES_REQUIRED`). 11 12Examples 13~~~~~~~~ 14 15.. code-block:: cmake 16 17 add_test(NAME baseTest1 ...) 18 add_test(NAME baseTest2 ...) 19 add_test(NAME dependsTest12 ...) 20 21 set_tests_properties(dependsTest12 PROPERTIES DEPENDS "baseTest1;baseTest2") 22 # dependsTest12 runs after baseTest1 and baseTest2, even if they fail 23