[PATCH] D50282: [lit, python] Always add quotes around the python path in lit

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 6 15:38:34 PDT 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 rL339075: [lit, python] Always add quotes around the python path in lit (authored by stella.stamenova, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D50282?vs=159125&id=159416#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50282

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


Index: lld/trunk/test/wasm/lto/cache.ll
===================================================================
--- lld/trunk/test/wasm/lto/cache.ll
+++ lld/trunk/test/wasm/lto/cache.ll
@@ -11,7 +11,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: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_interval=0s -o %t.wasm %t2.o %t.o
Index: lld/trunk/test/ELF/lto/cache.ll
===================================================================
--- lld/trunk/test/ELF/lto/cache.ll
+++ lld/trunk/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: lld/trunk/test/mach-o/dependency_info.yaml
===================================================================
--- lld/trunk/test/mach-o/dependency_info.yaml
+++ lld/trunk/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: D50282.159416.patch
Type: text/x-patch
Size: 1621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180806/aca02560/attachment.bin>


More information about the llvm-commits mailing list