mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
RunCMake/CXXModules: output example test output upon failure
This commit is contained in:
@@ -110,7 +110,7 @@ function (run_cxx_module_test directory)
|
|||||||
run_cmake("examples/${test_name}")
|
run_cmake("examples/${test_name}")
|
||||||
set(RunCMake_TEST_NO_CLEAN 1)
|
set(RunCMake_TEST_NO_CLEAN 1)
|
||||||
run_cmake_command("${test_name}-build" "${CMAKE_COMMAND}" --build . --config Debug)
|
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 ()
|
endfunction ()
|
||||||
|
|
||||||
string(REPLACE "," ";" CMake_TEST_MODULE_COMPILATION "${CMake_TEST_MODULE_COMPILATION}")
|
string(REPLACE "," ";" CMake_TEST_MODULE_COMPILATION "${CMake_TEST_MODULE_COMPILATION}")
|
||||||
|
|||||||
Reference in New Issue
Block a user