]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests/run-getsrc-die.sh: Avoid using objcopy
authorAaron Merey <amerey@redhat.com>
Fri, 1 Mar 2024 00:46:09 +0000 (19:46 -0500)
committerAaron Merey <amerey@redhat.com>
Fri, 1 Mar 2024 00:46:09 +0000 (19:46 -0500)
commitc94a97a2a9d75d224bd2c31e9a33c90ec6e05444
treed8a0adb91d8508745dd6aee2ab5f14246c570c92
parentd7768acc697735cc7498ddc891a1065439ba1d6f
tests/run-getsrc-die.sh: Avoid using objcopy

run-getsrc-die.sh uses objcopy to remove .debug_aranges from some
testfiles.  However depending how objcopy is built, it may fail to
recognize the format of these testfiles.

Avoid using objcopy and instead add versions of the testfiles to
the testsuite with .debug_aranges already stripped.

Signed-off-by: Aaron Merey <amerey@redhat.com>
tests/run-getsrc-die.sh
tests/testfile-inlines-no-aranges.bz2 [new file with mode: 0644]
tests/testfile-lex-inlines-no-aranges.bz2 [new file with mode: 0644]
tests/testfile-no-aranges.bz2 [new file with mode: 0644]