From 4befda8b844823cbb51858d9d3475bf5dc7e6b90 Mon Sep 17 00:00:00 2001 From: mrs Date: Fri, 2 Jun 2006 23:47:35 +0000 Subject: * compare_tests: Handle multilibs better. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114331 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/compare_tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/compare_tests') diff --git a/contrib/compare_tests b/contrib/compare_tests index a7fc6711efb..bcf678c52ea 100755 --- a/contrib/compare_tests +++ b/contrib/compare_tests @@ -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 -- cgit v1.2.1