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
15 years ago
|
cmake_minimum_required (VERSION 2.6)
|
||
|
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)
|