]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Run elfcompress under testrun in run-elfclassify.sh
authorMark Wielaard <mark@klomp.org>
Thu, 5 Dec 2019 13:22:56 +0000 (14:22 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 10 Dec 2019 23:19:51 +0000 (00:19 +0100)
Otherwise elfcompress might run against the system libelf which might
be too old or missing.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/run-elfclassify.sh

index 6e3923f5d3e48e393fa87951d59580d750b5386a..70100de4004a84532e021fe8f425fa443b79e08d 100644 (file)
@@ -1,3 +1,7 @@
+2019-12-05  Mark Wielaard  <mark@klomp.org>
+
+       * run-elfclassify.sh: Run elfcompress under testrun.
+
 2019-11-26  Mark Wielaard  <mark@klomp.org>
 
        * Makefile.am (BUILD_STATIC): Add libraries needed for libdw.
index 5a849bbdd4564628c81acc7073a99e5dcb2b1fee..fb14139d81bfb00ae48117c0be2fb17584b41ffb 100755 (executable)
@@ -267,7 +267,7 @@ $(echo $kmod_files | sed -e "s/ /\n/g")
 EOF
 
 echo "gnu compressed kmods are unstripped"
-${abs_top_builddir}/src/elfcompress -t gnu --force $kmod_files
+testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $kmod_files
 testrun ${abs_top_builddir}/src/elfclassify --unstripped $kmod_files
 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $kmod_files <<EOF
 $(echo $kmod_files | sed -e "s/ /\n/g")
@@ -312,7 +312,7 @@ $(echo $debug_files | sed -e "s/ /\n/g")
 EOF
 
 echo "compress the debug sections and try again"
-${abs_top_builddir}/src/elfcompress -t gnu --force $debug_files
+testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $debug_files
 
 echo "again unstripped"
 testrun ${abs_top_builddir}/src/elfclassify --unstripped $debug_files