summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-06-15 21:14:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-06 15:38:10 (GMT)
commita87c39dad12cb7abb69185a309282a1a2686a214 (patch)
tree5c4063ef4b89c995a6bf61044e0a1ea62e2c78c8 /Tests/RunCMake/CXXModules
parent727e3db07aa86134b1af442db2b0bc41b35edd74 (diff)
downloadCMake-a87c39dad12cb7abb69185a309282a1a2686a214.zip
CMake-a87c39dad12cb7abb69185a309282a1a2686a214.tar.gz
CMake-a87c39dad12cb7abb69185a309282a1a2686a214.tar.bz2
RunCMake/CXXModules: output example test output upon failure
Diffstat (limited to 'Tests/RunCMake/CXXModules')
-rw-r--r--Tests/RunCMake/CXXModules/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
index eb481fd..38cbcdd 100644
--- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
@@ -110,7 +110,7 @@ function (run_cxx_module_test directory)
run_cmake("examples/${test_name}")
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command("${test_name}-build" "${CMAKE_COMMAND}" --build . --config Debug)
- run_cmake_command("${test_name}-test" "${CMAKE_CTEST_COMMAND}" -C Debug)
+ run_cmake_command("${test_name}-test" "${CMAKE_CTEST_COMMAND}" -C Debug --output-on-failure)
endfunction ()
string(REPLACE "," ";" CMake_TEST_MODULE_COMPILATION "${CMake_TEST_MODULE_COMPILATION}")