compare_tests: Handle multilibs better.

* compare_tests: Handle multilibs better.

Co-Authored-By: Mike Stump <mrs@apple.com>

From-SVN: r114331
This commit is contained in:
Richard Earnshaw 2006-06-02 23:47:35 +00:00 committed by Mike Stump
parent 9734ebafb9
commit e58b87f712
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-06-02 Richard Earnshaw <rearnsha@arm.com>
Mike Stump <mrs@apple.com>
* compare_tests: Handle multilibs better.
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
* texi2pod.pl: Correct handling of absolute @include.

View File

@ -22,8 +22,8 @@ if [ "$2" = "" ]; then
exit 2
fi
sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$1" >$tmp1
sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$2" >$tmp2
sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' >$tmp1
sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' >$tmp2
before=$tmp1
now=$tmp2