You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
299 B
12 lines
299 B
cmake_minimum_required(VERSION 3.10)
|
|
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)
|