[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 20 16:05:50 PST 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD325650: [lit] Fix a problem with spaces in the python path by adding quotes around it (authored by asmith, committed by ).

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43265

Files:
  test/ELF/lto/cache.ll
  test/mach-o/dependency_info.yaml


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
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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43265.135160.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180221/f34017ca/attachment.bin>


More information about the llvm-commits mailing list