summaryrefslogtreecommitdiff
path: root/Tests/CTestTestCycle/CMakeLists.txt
blob: 6ba6b8c9530aabd96e2f8fb24e449afe62fbf32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required (VERSION 2.6)
project(CTestTestCycle)
include(CTest)

add_executable (simple simple.cxx)
add_test (one simple)
add_test (two simple)
add_test (three simple)

# Add cyclical test dependency
set_tests_properties(one PROPERTIES DEPENDS "two")
set_tests_properties(two PROPERTIES DEPENDS "three")
set_tests_properties(three PROPERTIES DEPENDS "one")