mirror of
https://github.com/reactos/CMake.git
synced 2024-12-17 16:46:37 +00:00
9afcecaf32
Write to the timeout test log file before sleeping and flush to be sure it is created. Move the check that the after-sleep line is not written out to the ctest script. Rename the CheckChild test to TestSleep since it no longer checks. Do not try to read the log file if it does not exist.
7 lines
211 B
CMake
7 lines
211 B
CMake
# Remove the log file.
|
|
file(REMOVE ${Log})
|
|
|
|
# Run a child that sleeps longer than the timout of this test.
|
|
# Log its output so check.cmake can verify it dies.
|
|
execute_process(COMMAND ${Sleep} ERROR_FILE ${Log})
|