浏览代码

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.
Brad King 11 年之前
父节点
当前提交
15e61f9bd9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/CTestTestTimeout/test.cmake.in

+ 1 - 1
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}")