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>
. $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
}