diff options
author | Brad King <brad.king@kitware.com> | 2020-12-14 12:07:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-12-14 12:07:46 (GMT) |
commit | 922ad5c6b9ea98d77c85c1378f088f7b20bdc6bf (patch) | |
tree | 7741c48e6db3667b1374d3713db13d8d9e96cbc4 /Tests/RunCMake/CMakeLists.txt | |
parent | 0a6c7cdd07565e6a50ef69d4f2595ace238fa408 (diff) | |
parent | e5a4ffaad166de7a8b907919ca2d805a3ec72c39 (diff) | |
download | CMake-922ad5c6b9ea98d77c85c1378f088f7b20bdc6bf.zip CMake-922ad5c6b9ea98d77c85c1378f088f7b20bdc6bf.tar.gz CMake-922ad5c6b9ea98d77c85c1378f088f7b20bdc6bf.tar.bz2 |
Merge topic 'execute_process-command-error'
e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5588
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 0cab867..c0e4bce 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -316,7 +316,10 @@ add_RunCMake_test(add_subdirectory) add_RunCMake_test(add_test) add_RunCMake_test(build_command) add_executable(exit_code exit_code.c) -set(execute_process_ARGS -DEXIT_CODE_EXE=$<TARGET_FILE:exit_code>) +set(execute_process_ARGS + -DEXIT_CODE_EXE=$<TARGET_FILE:exit_code> + -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} + ) if(NOT CMake_TEST_EXTERNAL_CMAKE) list(APPEND execute_process_ARGS -DTEST_ENCODING_EXE=$<TARGET_FILE:testEncoding>) endif() |