Hi,

While writing another self test (on the mjw/dwarfstrings branch) I
noticed run-elflint-self.sh was running tests against the old location
of the ebl shared library backends (and silently succeeding because
the files weren't there). I pushed the attached patch to fix that.
The test still succeeds, but now tests a bit more.

Cheers,

Mark
commit adcd1dd5729fdee3e85253b541767cc28809e4d9
Author: Mark Wielaard <[email protected]>
Date:   Thu Jul 19 22:59:18 2012 +0200

    test: run-elflint-self.sh ebl shared libraries are under backends now.
    
    Signed-off-by: Mark Wielaard <[email protected]>

diff --git a/tests/ChangeLog b/tests/ChangeLog
index cc0f243..9280028 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,9 @@
 2012-07-19  Mark Wielaard  <[email protected]>
 
+       * run-elflint-self.sh: runtests on ../backends/*so files.
+
+2012-07-19  Mark Wielaard  <[email protected]>
+
        * run-unstrip-n.sh: test_cleanup.
        * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
 
diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
index 8aca9e1..741ba85 100755
--- a/tests/run-elflint-self.sh
+++ b/tests/run-elflint-self.sh
@@ -22,10 +22,8 @@ status=0
 runtest() {
 # Uncomment for debuging
 #  echo $1
-  if [ -f $1 ]; then
-    testrun ../src/elflint --quiet --gnu-ld $1 ||
+  testrun ../src/elflint --quiet --gnu-ld $1 ||
     { echo "*** failure in $1"; status=1; }
-  fi
 }
 
 runtest ../src/addr2line
@@ -41,14 +39,14 @@ runtest ../src/strip
 runtest ../libelf/libelf.so
 runtest ../libdw/libdw.so
 runtest ../libasm/libasm.so
-runtest ../libebl/libebl_alpha.so
-runtest ../libebl/libebl_arm.so
-runtest ../libebl/libebl_i386.so
-runtest ../libebl/libebl_ia64.so
-runtest ../libebl/libebl_ppc.so
-runtest ../libebl/libebl_ppc64.so
-runtest ../libebl/libebl_sh.so
-runtest ../libebl/libebl_sparc.so
-runtest ../libebl/libebl_x86_64.so
+runtest ../backends/libebl_alpha.so
+runtest ../backends/libebl_arm.so
+runtest ../backends/libebl_i386.so
+runtest ../backends/libebl_ia64.so
+runtest ../backends/libebl_ppc.so
+runtest ../backends/libebl_ppc64.so
+runtest ../backends/libebl_sh.so
+runtest ../backends/libebl_sparc.so
+runtest ../backends/libebl_x86_64.so
 
 exit $status
_______________________________________________
elfutils-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to