]> granicus.if.org Git - llvm/commitdiff
[llvm-objcopy] %python wants to be in quotes, because it might contain spaces
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 18 Jul 2018 16:17:53 +0000 (16:17 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 18 Jul 2018 16:17:53 +0000 (16:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337399 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-objcopy/auto-remove-shndx.test
test/tools/llvm-objcopy/many-sections.test
test/tools/llvm-objcopy/remove-shndx.test
test/tools/llvm-objcopy/strict-no-add.test

index 5452f34d96deb338b2d1c004a34c12a5208dae30..349d35a6dc90ce273385cbff09f452a303a6e02b 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
+# RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
 # RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t %t2
 # RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
 
index 7aaa3a7fe7f20385d4c0b20559dbe3186eebb61f..b514fbe6bf40d609f8bbbffdcb609fb8aa81f22e 100644 (file)
@@ -1,4 +1,4 @@
-RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
+RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
 RUN: llvm-objcopy %t %t2
 RUN: llvm-readobj -file-headers %t2 | FileCheck --check-prefix=EHDR %s
 RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
index b8ea94cbc1da902143424ac255d0c9e677a6aac6..77f4622cd5a04bcd1bd397941a01dcc909ec48d0 100644 (file)
@@ -1,6 +1,6 @@
 # This test checks to see that a .symtab_shndx section is added to any binary
 # that needs it, even if the original was removed.
-RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
+RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
 RUN: llvm-objcopy -R .symtab_shndx %t %t2
 RUN: llvm-readobj -sections %t2 | FileCheck %s
 
index 15f5251db34347884a26916f126d896bf3264dd6..00d5dc1122008d7b8a06e5b4b87936d465607981 100644 (file)
@@ -1,7 +1,7 @@
 # This test makes sure that sections added at the end that don't have symbols
 # defined in them don't trigger the creation of a large index table.
 
-RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
+RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
 RUN: cat %p/Inputs/alloc-symtab.o > %t
 RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t.0 %t2
 RUN: llvm-objcopy -add-section=.s0=%t -add-section=.s1=%t -add-section=.s2=%t %t2 %t2