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.
14 lines
366 B
14 lines
366 B
14 years ago
|
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
|
||
|
PROJECT (CTestTestCostSerial)
|
||
|
INCLUDE (CTest)
|
||
|
|
||
|
ADD_EXECUTABLE (Sleep sleep.c)
|
||
|
|
||
|
FOREACH (index RANGE 1 3)
|
||
|
ADD_TEST (TestSleep${index} Sleep)
|
||
|
ENDFOREACH (index RANGE 1 3)
|
||
|
|
||
|
SET_TESTS_PROPERTIES(TestSleep1 PROPERTIES COST -500)
|
||
|
SET_TESTS_PROPERTIES(TestSleep2 PROPERTIES COST 12)
|
||
|
SET_TESTS_PROPERTIES(TestSleep3 PROPERTIES COST 0)
|