diff options
| author | Stella Stamenova <stilis@microsoft.com> | 2018-08-27 16:33:13 +0000 |
|---|---|---|
| committer | Stella Stamenova <stilis@microsoft.com> | 2018-08-27 16:33:13 +0000 |
| commit | 79a40ebba5a850c5222e345cdd4fad5d4076de8c (patch) | |
| tree | 27a1ed218d303ded0838fff5121647b5e9137a0f | |
| parent | 05ff3d3bf719bb492f476f8d4c343c8c74f71f1e (diff) | |
| download | bcm5719-llvm-79a40ebba5a850c5222e345cdd4fad5d4076de8c.tar.gz bcm5719-llvm-79a40ebba5a850c5222e345cdd4fad5d4076de8c.zip | |
[lit, python] Remove quotes around %python in cache.ll
Summary: We needed quotes around %python before to make python work correctly (on Windows) if the path contains spaces. I recently made a change so that %python now inherently has quotes, so now adding quotes around %python makes the test fail because the quotes cancel each other.
Reviewers: asmith, inglorion
Subscribers: mehdi_amini, eraman, steven_wu, dexonsmith, llvm-commits
Differential Revision: https://reviews.llvm.org/D51244
llvm-svn: 340753
| -rw-r--r-- | llvm/test/ThinLTO/X86/cache.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/ThinLTO/X86/cache.ll b/llvm/test/ThinLTO/X86/cache.ll index 5010d7d78b0..8cc015365f4 100644 --- a/llvm/test/ThinLTO/X86/cache.ll +++ b/llvm/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 |

