diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2006-06-02 23:47:35 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-06-02 23:47:35 +0000 |
commit | e58b87f712f010140d538c15d3abf94c365ac41f (patch) | |
tree | 2586617f113129b93ad8a83a354d323d5caf0ecf /contrib/compare_tests | |
parent | 9734ebafb946f742faa6217ed74101a7237559a8 (diff) | |
download | gcc-e58b87f712f010140d538c15d3abf94c365ac41f.zip gcc-e58b87f712f010140d538c15d3abf94c365ac41f.tar.gz gcc-e58b87f712f010140d538c15d3abf94c365ac41f.tar.bz2 |
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/compare_tests')
-rwxr-xr-x | contrib/compare_tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compare_tests b/contrib/compare_tests index a7fc671..bcf678c 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 |