timeout.cmake 212 B

123456
  1. # Remove the log file.
  2. file(REMOVE ${Log})
  3. # Run a child that sleeps longer than the timeout of this test.
  4. # Log its output so check.cmake can verify it dies.
  5. execute_process(COMMAND ${Sleep} ERROR_FILE ${Log})