summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-14 12:07:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-12-14 12:07:46 (GMT)
commit922ad5c6b9ea98d77c85c1378f088f7b20bdc6bf (patch)
tree7741c48e6db3667b1374d3713db13d8d9e96cbc4 /Tests/RunCMake/CMakeLists.txt
parent0a6c7cdd07565e6a50ef69d4f2595ace238fa408 (diff)
parente5a4ffaad166de7a8b907919ca2d805a3ec72c39 (diff)
downloadCMake-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.txt5
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()