]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add hello_s390.ko testcase to run-strip-reloc.sh.
authorMark Wielaard <mjw@redhat.com>
Tue, 24 May 2011 12:30:40 +0000 (14:30 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 24 May 2011 12:32:18 +0000 (14:32 +0200)
This new test PASSes, but looking at the size results will show
--reloc-debug-sections isn't making a huge difference for this case.

tests/ChangeLog
tests/Makefile.am
tests/hello_s390.ko.bz2 [new file with mode: 0644]
tests/run-strip-reloc.sh

index 7cf816ed85d147b4f568aa5e6f722cc1d778157c..a0511ec7e7b21c534020c16dde68622ea510e8b3 100644 (file)
@@ -1,3 +1,9 @@
+2011-05-24  Mark Wielaard  <mjw@redhat.com>
+
+       * 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  <mjw@redhat.com>
 
        * Makefile.am (TESTS): Add run-strip-reloc.sh.
index 07ae929d6ca575e7d198f767f6a4199bc2bd88d2..2f93ff01455772ad470c30a7e1cf4fd89ff56ead 100644 (file)
@@ -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 (file)
index 0000000..41525bf
Binary files /dev/null and b/tests/hello_s390.ko.bz2 differ
index 1c6a8bd0f909b51ebfc2e90951ca9b8caac086ae..0f4919ad1f6c927c3ec7dccd6bdee35e3d1d3654 100755 (executable)
@@ -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