summaryrefslogtreecommitdiff
path: root/Tests/CTestTestScheduler/CMakeLists.txt
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-02-03 15:06:29 -0500
committerZach Mullen <zach.mullen@kitware.com>2010-02-03 15:06:29 -0500
commitfe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d (patch)
tree0abbf3a649d3383166c04a22c71d22468e13fcff /Tests/CTestTestScheduler/CMakeLists.txt
parent6fe2376e2d907b06da55f6091c1761efe228e3d1 (diff)
downloadcmake-fe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d.tar.gz
Add unit test to ensure that CTestCostData scheduling works correctly
Diffstat (limited to 'Tests/CTestTestScheduler/CMakeLists.txt')
-rw-r--r--Tests/CTestTestScheduler/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CTestTestScheduler/CMakeLists.txt b/Tests/CTestTestScheduler/CMakeLists.txt
new file mode 100644
index 0000000000..8e7678dd0d
--- /dev/null
+++ b/Tests/CTestTestScheduler/CMakeLists.txt
@@ -0,0 +1,9 @@
+CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
+PROJECT (CTestTestScheduler)
+INCLUDE (CTest)
+
+ADD_EXECUTABLE (Sleep sleep.c)
+
+FOREACH (time RANGE 1 5)
+ ADD_TEST (TestSleep${time} Sleep ${time})
+ENDFOREACH (time RANGE 1 5)