summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-16 05:12:01 +0000
committerUlrich Drepper <[email protected]>2005-08-16 05:12:01 +0000
commit837b522ee677ef371b800b8b08c5658293fe03ca (patch)
tree703c91fe9a03e1c0ad4ae69dcf5330afdbfc31d7 /tests
parent61655e08ba36430de47381cefdf10d0c26aa8480 (diff)
Fix run-elflint-self test for static builds (mudflap or gprof).
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rwxr-xr-xtests/run-elflint-self.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index ec7a22c7..c8972229 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-15 Ulrich Drepper <[email protected]>
+
+ * run-elflint-self.sh: Don't run test if the file doesn't exist.
+
2005-08-15 Roland McGrath <[email protected]>
* dwflmodtest.c (print_instance, print_inline): New functions.
diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
index ce5706c5..df7678ab 100755
--- a/tests/run-elflint-self.sh
+++ b/tests/run-elflint-self.sh
@@ -18,7 +18,9 @@ export LD_LIBRARY_PATH=../libebl:../libelf${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
runtest() {
# Uncomment for debuging
# echo $1
- ../src/elflint --quiet --gnu-ld $1
+ if [ -f $1 ]; then
+ ../src/elflint --quiet --gnu-ld $1
+ fi
}
runtest ../src/addr2line
@@ -43,5 +45,3 @@ runtest ../libebl/libebl_ppc64.so
runtest ../libebl/libebl_sh.so
runtest ../libebl/libebl_sparc.so
runtest ../libebl/libebl_x86_64.so
-
-