mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 04:24:36 +08:00
Tests: Teach RunCMake.Instrumentation to tolerate make tool output
This commit is contained in:
@@ -66,7 +66,9 @@ function(instrument test)
|
|||||||
run_cmake_command(${test}-build ${CMAKE_COMMAND} --build . --config Debug)
|
run_cmake_command(${test}-build ${CMAKE_COMMAND} --build . --config Debug)
|
||||||
endif()
|
endif()
|
||||||
if (ARGS_BUILD_MAKE_PROGRAM)
|
if (ARGS_BUILD_MAKE_PROGRAM)
|
||||||
|
set(RunCMake_TEST_OUTPUT_MERGE 1)
|
||||||
run_cmake_command(${test}-make-program ${RunCMake_MAKE_PROGRAM})
|
run_cmake_command(${test}-make-program ${RunCMake_MAKE_PROGRAM})
|
||||||
|
unset(RunCMake_TEST_OUTPUT_MERGE)
|
||||||
endif()
|
endif()
|
||||||
if (ARGS_INSTALL)
|
if (ARGS_INSTALL)
|
||||||
run_cmake_command(${test}-install ${CMAKE_COMMAND} --install . --prefix install --config Debug)
|
run_cmake_command(${test}-install ${CMAKE_COMMAND} --install . --prefix install --config Debug)
|
||||||
|
Reference in New Issue
Block a user