You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
307 B
10 lines
307 B
15 years ago
|
# Block just as long as timeout.cmake would if it were not killed.
|
||
|
execute_process(COMMAND ${Timeout})
|
||
|
|
||
|
# Verify that the log is empty, which indicates that the grandchild
|
||
|
# was killed before it finished sleeping.
|
||
|
file(READ "${Log}" LOG)
|
||
|
if(NOT "${LOG}" STREQUAL "")
|
||
|
message(FATAL_ERROR "${LOG}")
|
||
|
endif()
|