summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-11-02 14:02:41 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-11-02 14:04:00 (GMT)
commitc4be9c914b045ceb91a7ac7120fc6c6422944ae5 (patch)
tree60e05ef7b295f5deea800ce05acf4e6af0c1af43 /Tests/RunCMake/CMakeLists.txt
parentae84de5a0c204bbb6ad808f9bae36ef71dcc4ca1 (diff)
downloadCMake-c4be9c914b045ceb91a7ac7120fc6c6422944ae5.zip
CMake-c4be9c914b045ceb91a7ac7120fc6c6422944ae5.tar.gz
CMake-c4be9c914b045ceb91a7ac7120fc6c6422944ae5.tar.bz2
cmSystemTools::RunSingleCommand(): Pass stdin to child process
Fixes: #25383
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 4387c5b..2b61fd1 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -827,7 +827,8 @@ endif()
add_executable(pseudo_llvm-rc pseudo_llvm-rc.c)
add_RunCMake_test(CommandLine -DLLVM_RC=$<TARGET_FILE:pseudo_llvm-rc> -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
-DCYGWIN=${CYGWIN} -DMSYS=${MSYS} -DPython_EXECUTABLE=${Python_EXECUTABLE}
- -DEXIT_CODE_EXE=$<TARGET_FILE:exit_code>)
+ -DEXIT_CODE_EXE=$<TARGET_FILE:exit_code>
+ -DPRINT_STDIN_EXE=$<TARGET_FILE:print_stdin>)
add_RunCMake_test(CommandLineTar)
if(CMAKE_PLATFORM_NO_VERSIONED_SONAME OR (NOT CMAKE_SHARED_LIBRARY_SONAME_FLAG AND NOT CMAKE_SHARED_LIBRARY_SONAME_C_FLAG))