summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestParallel/CMakeLists.txt
blob: 8fab44b457152b102246c1530b66351764b88950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTestParallel)
INCLUDE(CTest)

ADD_EXECUTABLE (LockFile lockFile.c)

ADD_TEST (TestRunSerial1 LockFile)
ADD_TEST (TestRunSerial2 LockFile)
SET_TESTS_PROPERTIES(TestRunSerial1 TestRunSerial2 PROPERTIES RUN_SERIAL true)

ADD_TEST (TestProcessorsGreaterThanMPL1 LockFile)
ADD_TEST (TestProcessorsGreaterThanMPL2 LockFile)
SET_TESTS_PROPERTIES(TestProcessorsGreaterThanMPL1 PROPERTIES PROCESSORS 10)