CMake/Tests/CTestTestFdSetSize/CMakeLists.txt
Paul Kunysch 875eb8e158 CTest: Add test for running many tests in parallel
In particular, this checks that CTest's use of select() has a sufficient
file descriptor set size limit (FD_SETSIZE) to handle many child
processes at the same time.  Running 20 tests requires more than 64
descriptors, the Cygwin default that we override.
2013-03-22 09:02:12 -04:00

10 lines
196 B
CMake

cmake_minimum_required (VERSION 2.8.10)
project (CTestTestFdSetSize)
include (CTest)
add_executable (Sleep sleep.c)
foreach (index RANGE 1 20)
add_test (TestSleep${index} Sleep)
endforeach ()