summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorAsit Dhal <dhal.asitk@gmail.com>2020-11-30 16:13:01 (GMT)
committerAsit Dhal <dhal.asitk@gmail.com>2020-12-01 00:53:03 (GMT)
commit5a6c199069fdf3d1e781a5d08059d5669051fb63 (patch)
treeb4567aba70a33bfd3e93f40f732358c8c4c6d5aa /Tests/RunCMake
parent8187bd2f4bc54c9003cb0034b21530e3bfd24e8d (diff)
downloadCMake-5a6c199069fdf3d1e781a5d08059d5669051fb63.zip
CMake-5a6c199069fdf3d1e781a5d08059d5669051fb63.tar.gz
CMake-5a6c199069fdf3d1e781a5d08059d5669051fb63.tar.bz2
ctest: Provide hints about inspecting test failures
Fixes: #20955
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt4
-rw-r--r--Tests/RunCMake/CTestCommandLine/repeat-until-fail-ctest-stderr.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt
index 97e2a10..b27da43 100644
--- a/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt
+++ b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt
@@ -1,4 +1,6 @@
^CMake Error at CTestTestfile.cmake:[0-9]+ \(subdirs\):
subdirs called with incorrect number of arguments
+
-Errors while running CTest$
+Errors while running CTest
+Output from these tests are in: .*/Testing/Temporary/LastTest.log
+Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-ctest-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-ctest-stderr.txt
index 7593783..a993ac6 100644
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-ctest-stderr.txt
+++ b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-ctest-stderr.txt
@@ -1 +1,3 @@
-^Errors while running CTest$
+^Errors while running CTest
+Output from these tests are in: .*/Testing/Temporary/LastTest.log
+Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.$