summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestStopTime/CMakeLists.txt
blob: 4f6e7958cdafd1db2d4d4c56b890da190f924031 (plain)
1
2
3
4
5
6
7
8
9
10
11
cmake_minimum_required (VERSION 3.5)
project(CTestTestStopTime)
include(CTest)

add_executable (Sleep sleep.c)

add_test (TestSleep Sleep 30)
add_test (ShouldNotRun Sleep 30)

set_tests_properties(ShouldNotRun PROPERTIES DEPENDS TestSleep)
set_tests_properties(ShouldNotRun PROPERTIES WILL_FAIL ON)