The '%dexter_regression_test' substitution was missing quotes around the python executable, unlike other substitutions of a similar nature in the file. This changes fixes the issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm not convinced we don't need some kind of general purpose lit solution that solves this, but that's a bigger task than I'm willing to take a stab at currently!
Comment Actions
LGTM.
For the record this fixes the issue below on Windows:
******************** TEST 'debuginfo-tests :: dexter/feature_tests/commands/penalty/unreachable.cpp' FAILED ******************** Script: -- : 'RUN: at line 8'; not C:/Program Files/Python39/python.exe F:/aganea/llvm-project/debuginfo-tests\dexter\dexter.py test --fail-lt 1.0 -w --builder clang-cl_vs2015 --debugger dbgeng --cflags "/Zi /Od" --ldflags "/Zi" -- F:\aganea\llvm-project\debuginfo-tests\dexter\feature_tests\commands\penalty\unreachable.cpp | f:\aganea\llvm-project\buildtest\bin\filecheck.exe F:\aganea\llvm-project\debuginfo-tests\dexter\feature_tests\commands\penalty\unreachable.cpp -- Exit Code: 2 Command Output (stdout): -- $ ":" "RUN: at line 8" $ "not" "C:/Program" "Files/Python39/python.exe" "F:/aganea/llvm-project/debuginfo-tests\dexter\dexter.py" "test" "--fail-lt" "1.0" "-w" "--builder" "clang-cl_vs2015" "--debugger" "dbgeng" "--cflags" "/Zi /Od" "--ldflags" "/Zi" "--" "F:\aganea\llvm-project\debuginfo-tests\dexter\feature_tests\commands\penalty\unreachable.cpp" # command stderr: error: program not executable
Python happens to be installed as "available to all users" on this machine, so it was installed on "C:\Program Files" (which before was missing quotes at the right place).