summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2006-06-02 23:47:35 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-06-02 23:47:35 +0000
commite58b87f712f010140d538c15d3abf94c365ac41f (patch)
tree2586617f113129b93ad8a83a354d323d5caf0ecf /contrib
parent9734ebafb946f742faa6217ed74101a7237559a8 (diff)
downloadgcc-e58b87f712f010140d538c15d3abf94c365ac41f.tar.gz
compare_tests: Handle multilibs better.
* compare_tests: Handle multilibs better. Co-Authored-By: Mike Stump <mrs@apple.com> From-SVN: r114331
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/compare_tests4
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 46731357181..3a59cb63dc7 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
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