summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestStopTime/CMakeLists.txt
blob: 5fe30d3521d1d58d500fb57a1cae3d932da84eba (plain)
1
2
3
4
5
6
7
8
9
10
11
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)