]> granicus.if.org Git - llvm/commitdiff
[llvm-objcopy] Run not with any python, but the python configured in lit.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Jul 2018 10:30:56 +0000 (10:30 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Jul 2018 10:30:56 +0000 (10:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337262 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 54525fd208e15a7af1efc12abab09ddf1325de4e..5452f34d96deb338b2d1c004a34c12a5208dae30 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 29148ca01f356e1daa007dabcabdc99b160028f8..7aaa3a7fe7f20385d4c0b20559dbe3186eebb61f 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 c20e29a7e4c01785b1da04a3993ba5c414b3cf07..b8ea94cbc1da902143424ac255d0c9e677a6aac6 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 54656262d60107bc7d9cbd09c4a2200f67feb1b7..15f5251db34347884a26916f126d896bf3264dd6 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