Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit f948d85

Browse files
committed
[llvm-objcopy] Run not with any python, but the python configured in lit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337262 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ca47e5e commit f948d85

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/tools/llvm-objcopy/auto-remove-shndx.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
1+
# RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
22
# RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t %t2
33
# RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
44

test/tools/llvm-objcopy/many-sections.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RUN: python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
1+
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
22
RUN: llvm-objcopy %t %t2
33
RUN: llvm-readobj -file-headers %t2 | FileCheck --check-prefix=EHDR %s
44
RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s

test/tools/llvm-objcopy/remove-shndx.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This test checks to see that a .symtab_shndx section is added to any binary
22
# that needs it, even if the original was removed.
3-
RUN: python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
3+
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
44
RUN: llvm-objcopy -R .symtab_shndx %t %t2
55
RUN: llvm-readobj -sections %t2 | FileCheck %s
66

test/tools/llvm-objcopy/strict-no-add.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This test makes sure that sections added at the end that don't have symbols
22
# defined in them don't trigger the creation of a large index table.
33

4-
RUN: python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
4+
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
55
RUN: cat %p/Inputs/alloc-symtab.o > %t
66
RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t.0 %t2
77
RUN: llvm-objcopy -add-section=.s0=%t -add-section=.s1=%t -add-section=.s2=%t %t2 %t2

0 commit comments

Comments
 (0)