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/tools/llvm-objcopy/strict-no-add.test | |
| 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/tools/llvm-objcopy/strict-no-add.test')
| -rw-r--r-- | llvm/test/tools/llvm-objcopy/strict-no-add.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objcopy/strict-no-add.test b/llvm/test/tools/llvm-objcopy/strict-no-add.test index 00d5dc11220..15f5251db34 100644 --- a/llvm/test/tools/llvm-objcopy/strict-no-add.test +++ b/llvm/test/tools/llvm-objcopy/strict-no-add.test @@ -1,7 +1,7 @@ # This test makes sure that sections added at the end that don't have symbols # defined in them don't trigger the creation of a large index table. -RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0 +RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0 RUN: cat %p/Inputs/alloc-symtab.o > %t RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t.0 %t2 RUN: llvm-objcopy -add-section=.s0=%t -add-section=.s1=%t -add-section=.s2=%t %t2 %t2 |

