blob: 29d2983e833280fcca7b8981a526e69f1d2eff02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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)
|