From 3f445279b60b16b6cb062921b74ae400344b4a68 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 5 Dec 2019 14:22:56 +0100 Subject: [PATCH] tests: Run elfcompress under testrun in run-elfclassify.sh Otherwise elfcompress might run against the system libelf which might be too old or missing. Signed-off-by: Mark Wielaard --- tests/ChangeLog | 4 ++++ tests/run-elfclassify.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 6e3923f..70100de 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2019-12-05 Mark Wielaard + + * run-elfclassify.sh: Run elfcompress under testrun. + 2019-11-26 Mark Wielaard * Makefile.am (BUILD_STATIC): Add libraries needed for libdw. diff --git a/tests/run-elfclassify.sh b/tests/run-elfclassify.sh index 5a849bb..fb14139 100755 --- a/tests/run-elfclassify.sh +++ b/tests/run-elfclassify.sh @@ -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 <