1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 08:51:52 +08:00

Tests: Teach RunCMake.Instrumentation to tolerate make tool output

This commit is contained in:
Brad King
2025-07-15 10:36:07 -04:00
committed by Tyler Yankee
parent 8eeeeb7efe
commit 6d6c8303f9

View File

@@ -66,7 +66,9 @@ function(instrument test)
run_cmake_command(${test}-build ${CMAKE_COMMAND} --build . --config Debug)
endif()
if (ARGS_BUILD_MAKE_PROGRAM)
set(RunCMake_TEST_OUTPUT_MERGE 1)
run_cmake_command(${test}-make-program ${RunCMake_MAKE_PROGRAM})
unset(RunCMake_TEST_OUTPUT_MERGE)
endif()
if (ARGS_INSTALL)
run_cmake_command(${test}-install ${CMAKE_COMMAND} --install . --prefix install --config Debug)