2009-09-22 20:06:03 +04:00
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
PROJECT(CTestTestParallel)
|
2009-12-02 17:16:29 +03:00
|
|
|
INCLUDE(CTest)
|
2009-09-22 20:06:03 +04:00
|
|
|
|
2009-09-23 19:38:37 +04:00
|
|
|
ADD_EXECUTABLE (LockFile lockFile.c)
|
2009-09-22 20:06:03 +04:00
|
|
|
|
|
|
|
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)
|