summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-02 14:37:42 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-02 14:40:17 (GMT)
commit15e61f9bd96d528bc50217de1fcd8285fd033cf2 (patch)
tree4dba2fcffb551df6ce2861022115d5552f0b562e /Tests/CTestTestTimeout
parentf33d875a844114945f3e698266639a63401f6ac1 (diff)
downloadCMake-15e61f9bd96d528bc50217de1fcd8285fd033cf2.zip
CMake-15e61f9bd96d528bc50217de1fcd8285fd033cf2.tar.gz
CMake-15e61f9bd96d528bc50217de1fcd8285fd033cf2.tar.bz2
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.
Diffstat (limited to 'Tests/CTestTestTimeout')
-rw-r--r--Tests/CTestTestTimeout/test.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTestTimeout/test.cmake.in b/Tests/CTestTestTimeout/test.cmake.in
index 68c74d8..af53383 100644
--- a/Tests/CTestTestTimeout/test.cmake.in
+++ b/Tests/CTestTestTimeout/test.cmake.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}")