From: Mark Wielaard Date: Tue, 24 May 2011 12:30:40 +0000 (+0200) Subject: Add hello_s390.ko testcase to run-strip-reloc.sh. X-Git-Tag: elfutils-0.153~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20a217d677c62a01f9b650a1dfef0a82154d115e;p=thirdparty%2Felfutils.git Add hello_s390.ko testcase to run-strip-reloc.sh. This new test PASSes, but looking at the size results will show --reloc-debug-sections isn't making a huge difference for this case. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 7cf816ed8..a0511ec7e 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +2011-05-24 Mark Wielaard + + * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2. + * run-strip-reloc.sh: Add hello_s390.ko testcase. + * hello_s390.ko.bz2: New test file. + 2011-05-23 Mark Wielaard * Makefile.am (TESTS): Add run-strip-reloc.sh. diff --git a/tests/Makefile.am b/tests/Makefile.am index 07ae929d6..2f93ff014 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -113,7 +113,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \ run-strip-reloc.sh hello_i386.ko.bz2 hello_x86_64.ko.bz2 \ - hello_ppc64.ko.bz2 \ + hello_ppc64.ko.bz2 hello_s390.ko.bz2 \ run-unstrip-test.sh run-unstrip-test2.sh \ run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \ run-ranlib-test3.sh run-ranlib-test4.sh \ diff --git a/tests/hello_s390.ko.bz2 b/tests/hello_s390.ko.bz2 new file mode 100644 index 000000000..41525bf5d Binary files /dev/null and b/tests/hello_s390.ko.bz2 differ diff --git a/tests/run-strip-reloc.sh b/tests/run-strip-reloc.sh index 1c6a8bd0f..0f4919ad1 100755 --- a/tests/run-strip-reloc.sh +++ b/tests/run-strip-reloc.sh @@ -25,7 +25,7 @@ . $srcdir/test-subr.sh -testfiles hello_i386.ko hello_x86_64.ko hello_ppc64.ko +testfiles hello_i386.ko hello_x86_64.ko hello_ppc64.ko hello_s390.ko status=0 runtest() { @@ -106,6 +106,7 @@ runtest() { runtest hello_i386.ko 1 runtest hello_x86_64.ko 1 runtest hello_ppc64.ko 1 +runtest hello_s390.ko 1 # self test, shouldn't impact non-ET_REL files at all. runtest ../src/strip 0