[PATCH] D96420: [test][Dexter] Fix test failure if space in python path
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 08:29:10 PST 2021
aganea accepted this revision.
aganea added a comment.
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).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96420/new/
https://reviews.llvm.org/D96420
More information about the llvm-commits
mailing list