diff options
author | Stella Stamenova <stilis@microsoft.com> | 2018-08-06 22:37:44 +0000 |
---|---|---|
committer | Stella Stamenova <stilis@microsoft.com> | 2018-08-06 22:37:44 +0000 |
commit | cc2404c01d40df744baf1bdffd554b6bcf10815a (patch) | |
tree | 24026c4a5ff60cfab079e7f323b690fd62bb0777 /llvm/test/BugPoint/compile-custom.ll | |
parent | a29e76244a6afcd90aaae83591ead1dc3a085b06 (diff) | |
download | bcm5719-llvm-cc2404c01d40df744baf1bdffd554b6bcf10815a.tar.gz bcm5719-llvm-cc2404c01d40df744baf1bdffd554b6bcf10815a.zip |
[lit, python] Always add quotes around the python path in lit
Summary:
The issue with the python path is that the path to python on Windows can contain spaces. To make the tests always work, the path to python needs to be surrounded by quotes.
This change updates several configuration files which specify the path to python as a substitution and also remove quotes from existing tests.
Reviewers: asmith, zturner, alexshap, jakehehrlich
Reviewed By: zturner, alexshap, jakehehrlich
Subscribers: mehdi_amini, nemanjai, eraman, kbarton, jakehehrlich, steven_wu, dexonsmith, stella.stamenova, delcypher, llvm-commits
Differential Revision: https://reviews.llvm.org/D50206
llvm-svn: 339073
Diffstat (limited to 'llvm/test/BugPoint/compile-custom.ll')
-rw-r--r-- | llvm/test/BugPoint/compile-custom.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/BugPoint/compile-custom.ll b/llvm/test/BugPoint/compile-custom.ll index 00447094374..cb82a01383e 100644 --- a/llvm/test/BugPoint/compile-custom.ll +++ b/llvm/test/BugPoint/compile-custom.ll @@ -1,4 +1,4 @@ -; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %/s.py arg1 arg2" --opt-command opt --output-prefix %t %s | FileCheck %s +; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%/s.py arg1 arg2" --opt-command opt --output-prefix %t %s | FileCheck %s ; REQUIRES: loadable_module ; Test that arguments are correctly passed in --compile-command. The output |