mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
f6b4db365a
This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs.
14 lines
372 B
CMake
14 lines
372 B
CMake
cmake_minimum_required (VERSION 2.8.12)
|
|
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")
|