diff options
author | Roland McGrath <roland@redhat.com> | 2009-07-01 20:33:29 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-07-01 20:33:29 -0700 |
commit | e332b8e724c2b2a4c3dd363cabd17be07c8b173a (patch) | |
tree | 3098bdbeb21099a1fc9b8d4d132d7d9c9d1b6bda | |
parent | 970802f2627bf33d2b58df879d58ce7a65eaae6f (diff) | |
parent | 8e591b3f7799aac2f4d0119ef02309e83fdd09c8 (diff) | |
download | elfutils-e332b8e724c2b2a4c3dd363cabd17be07c8b173a.tar.gz |
Merge branch 'dwarf' into roland/dwarf-collector
-rw-r--r-- | tests/ChangeLog | 1 | ||||
-rwxr-xr-x | tests/run-dwarfcmp-self.sh | 15 |
2 files changed, 11 insertions, 5 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 1e5db4aa..b988cfec 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,6 +1,7 @@ 2009-07-01 Roland McGrath <roland@redhat.com> * run-dwarfcmp-self.sh: Run on dwarflint too. + Fiddle failure output. 2009-06-15 Roland McGrath <roland@redhat.com> diff --git a/tests/run-dwarfcmp-self.sh b/tests/run-dwarfcmp-self.sh index f108d060..cce6641a 100755 --- a/tests/run-dwarfcmp-self.sh +++ b/tests/run-dwarfcmp-self.sh @@ -26,15 +26,20 @@ . $srcdir/test-subr.sh status=0 +run_one() +{ + file="$1"; shift + testrun ../src/dwarfcmp "$@" "$file" "$file" || + { echo "*** failure in dwarfcmp-self $* on $file"; status=1; } +} + runtest() { for file; do if [ -f $file ]; then - { testrun ../src/dwarfcmp -q -i $file $file && - testrun ../src/dwarfcmp -i $file $file && - testrun ../src/dwarfcmp -T -q -i $file $file - } || - { echo "*** failure in $file"; status=1; } + run_one "$file" -i -q + run_one "$file" -i + run_one "$file" -i -q -T fi done } |