mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Tests: Fix CTestTestTimeout output order to match regex
Print the "timeout correctly killed" message using message(STATUS) so that 'ctest -S' puts it in the same pipe as the rest of the test command handler output. This ensures it shows up in the same order every time.
This commit is contained in:
@@ -32,7 +32,7 @@ if(EXISTS "${log}")
|
||||
if(after_sleep)
|
||||
message(FATAL_ERROR "Log indicates timeout did not kill child.")
|
||||
else()
|
||||
message("Log indicates timeout correctly killed child.")
|
||||
message(STATUS "Log indicates timeout correctly killed child.")
|
||||
endif()
|
||||
else()
|
||||
message(FATAL_ERROR "Log does not exist:\n ${log}")
|
||||
|
||||
Reference in New Issue
Block a user