summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/Python2Module.cmake
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2025-02-04 09:43:06 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2025-02-04 15:19:10 (GMT)
commitcb5f136c6636677bb496869b2c0d87d209bc2655 (patch)
tree56ea02b35b4f4e7abe3c913ed478fd78bb3fd3c2 /Tests/RunCMake/FindPython/Python2Module.cmake
parentc10cb0fde9fdf22c62616371a11851c97dd92a9a (diff)
downloadCMake-cb5f136c6636677bb496869b2c0d87d209bc2655.zip
CMake-cb5f136c6636677bb496869b2c0d87d209bc2655.tar.gz
CMake-cb5f136c6636677bb496869b2c0d87d209bc2655.tar.bz2
ctest: Prevent infinite loop in ctest_run_script(NEW_PROCESS)
ctest passes an internal -SR argument to inform a subprocess which script to run. Because all arguments are propagated to the subprocess, nested subprocess receives multiple -SR arguments and re-runs the parent script in addition to its own, leading to a loop. Ignore redundant -SR arguments on input and also filter out parent's -SR argument when constructing a child process. Fixes: #8837
Diffstat (limited to 'Tests/RunCMake/FindPython/Python2Module.cmake')
0 files changed, 0 insertions, 0 deletions