diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-21 00:03:41 +0000 |
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-21 00:03:41 +0000 |
| commit | 39bb8c50034f2a926ba02a4bfd5ac955975d4a20 (patch) | |
| tree | 72e8f99db0a0953ca2620ea1aa794d6ee56a8068 | |
| parent | 6f716a7c5e9c910bf3e098b27b10229c78412455 (diff) | |
| download | bcm5719-llvm-39bb8c50034f2a926ba02a4bfd5ac955975d4a20.tar.gz bcm5719-llvm-39bb8c50034f2a926ba02a4bfd5ac955975d4a20.zip | |
[lit] Fix a problem with spaces in the python path by adding quotes around it
Summary:
This fixes 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
Reviewers: zturner, llvm-commits, stella.stamenova
Subscribers: emaste, arichardson
Differential Revision: https://reviews.llvm.org/D43265
llvm-svn: 325650
| -rw-r--r-- | lld/test/ELF/lto/cache.ll | 2 | ||||
| -rw-r--r-- | lld/test/mach-o/dependency_info.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/lto/cache.ll b/lld/test/ELF/lto/cache.ll index 5ab74f5c545..3f2bea9f2cd 100644 --- a/lld/test/ELF/lto/cache.ll +++ b/lld/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 diff --git a/lld/test/mach-o/dependency_info.yaml b/lld/test/mach-o/dependency_info.yaml index 06b269ae168..34d688541b9 100644 --- a/lld/test/mach-o/dependency_info.yaml +++ b/lld/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 |

