[PATCH] D43265: [lit] Fix a problem with spaces in the python path by adding quotes around it
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 15:54:58 PST 2018
asmith created this revision.
asmith added reviewers: zturner, llvm-commits, stella.stamenova.
Herald added subscribers: arichardson, emaste.
This fix two failing tests on Windows with an installed version of python that has spaces in the path.
- elf/lto/cache.ll,
- mach-o/dependency_info.yaml
Repository:
rL LLVM
https://reviews.llvm.org/D43265
Files:
test/ELF/lto/cache.ll
test/mach-o/dependency_info.yaml
Index: test/mach-o/dependency_info.yaml
===================================================================
--- test/mach-o/dependency_info.yaml
+++ test/mach-o/dependency_info.yaml
@@ -9,7 +9,7 @@
# RUN: -F/Custom/Frameworks \
# RUN: -framework Bar \
# RUN: -framework Foo
-# RUN: %python %p/Inputs/DependencyDump.py %t.info | FileCheck %s
+# RUN: '%python' %p/Inputs/DependencyDump.py %t.info | FileCheck %s
# CHECK: linker-vers: lld
Index: test/ELF/lto/cache.ll
===================================================================
--- test/ELF/lto/cache.ll
+++ test/ELF/lto/cache.ll
@@ -13,7 +13,7 @@
; RUN: ls %t.cache | count 4
; Create a file of size 64KB.
-; RUN: %python -c "print(' ' * 65536)" > %t.cache/llvmcache-foo
+; RUN: "%python" -c "print(' ' * 65536)" > %t.cache/llvmcache-foo
; This should leave the file in place.
; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_interval=0s -o %t3 %t2.o %t.o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43265.134136.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180213/ee1eebd2/attachment.bin>
More information about the llvm-commits
mailing list