mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
875eb8e158
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.
10 lines
196 B
CMake
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 ()
|