[PATCH] D51244: [lit, python] Remove quotes around %python in cache.ll

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 09:36:07 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 rL340753: [lit, python] Remove quotes around %python in cache.ll (authored by stella.stamenova, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D51244?vs=162512&id=162693#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51244

Files:
  llvm/trunk/test/ThinLTO/X86/cache.ll


Index: llvm/trunk/test/ThinLTO/X86/cache.ll
===================================================================
--- llvm/trunk/test/ThinLTO/X86/cache.ll
+++ llvm/trunk/test/ThinLTO/X86/cache.ll
@@ -106,14 +106,14 @@
 ; RUN: rm -Rf %t.cache && mkdir %t.cache
 ; Create cache files with different sizes.
 ; Only 8B and 76B files should stay after pruning.
-; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-100k', 'w') as file: file.truncate(102400)"
+; RUN: %python -c "with open(r'%t.cache/llvmcache-foo-100k', 'w') as file: file.truncate(102400)"
 ; RUN: touch -t 198002011200 %t.cache/llvmcache-foo-100k
-; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-16', 'w') as file: file.truncate(16)"
+; RUN: %python -c "with open(r'%t.cache/llvmcache-foo-16', 'w') as file: file.truncate(16)"
 ; RUN: touch -t 198002021200 %t.cache/llvmcache-foo-16
-; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-77k', 'w') as file: file.truncate(78848)"
+; RUN: %python -c "with open(r'%t.cache/llvmcache-foo-77k', 'w') as file: file.truncate(78848)"
 ; RUN: touch -t 198002031200 %t.cache/llvmcache-foo-77k
-; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-8', 'w') as file: file.truncate(8)"
-; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-76', 'w') as file: file.truncate(76)"
+; RUN: %python -c "with open(r'%t.cache/llvmcache-foo-8', 'w') as file: file.truncate(8)"
+; RUN: %python -c "with open(r'%t.cache/llvmcache-foo-76', 'w') as file: file.truncate(76)"
 ; RUN: llvm-lto -thinlto-action=run -exported-symbol=globalfunc %t2.bc %t.bc -thinlto-cache-dir %t.cache --thinlto-cache-max-size-bytes 78847
 ; RUN: ls %t.cache/llvmcache-foo-8
 ; RUN: ls %t.cache/llvmcache-foo-76
@@ -126,14 +126,14 @@
 ; RUN: rm -Rf %t.cache && mkdir %t.cache
 ; Create cache files with different sizes.
 ; Only 75B and 76B files should stay after pruning.
-; RUN: "%python" -c "print(' ' * 1023)" > %t.cache/llvmcache-foo-1023
+; RUN: %python -c "print(' ' * 1023)" > %t.cache/llvmcache-foo-1023
 ; RUN: touch -t 198002011200 %t.cache/llvmcache-foo-1023
-; RUN: "%python" -c "print(' ' * 15)" > %t.cache/llvmcache-foo-15
+; RUN: %python -c "print(' ' * 15)" > %t.cache/llvmcache-foo-15
 ; RUN: touch -t 198002021200 %t.cache/llvmcache-foo-15
-; RUN: "%python" -c "print(' ' * 7)" > %t.cache/llvmcache-foo-7
+; RUN: %python -c "print(' ' * 7)" > %t.cache/llvmcache-foo-7
 ; RUN: touch -t 198002031200 %t.cache/llvmcache-foo-7
-; RUN: "%python" -c "print(' ' * 75)" > %t.cache/llvmcache-foo-75
-; RUN: "%python" -c "print(' ' * 76)" > %t.cache/llvmcache-foo-76
+; RUN: %python -c "print(' ' * 75)" > %t.cache/llvmcache-foo-75
+; RUN: %python -c "print(' ' * 76)" > %t.cache/llvmcache-foo-76
 ; RUN: llvm-lto -thinlto-action=run -exported-symbol=globalfunc %t2.bc %t.bc -thinlto-cache-dir %t.cache --thinlto-cache-max-size-files 4
 ; RUN: ls %t.cache/llvmcache-foo-75
 ; RUN: ls %t.cache/llvmcache-foo-76


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51244.162693.patch
Type: text/x-patch
Size: 2904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/ff0e68c2/attachment.bin>


More information about the llvm-commits mailing list