summaryrefslogtreecommitdiff
path: root/contrib/test_summary
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-18 19:40:48 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-18 19:40:48 +0000
commit6a23d9c285645acd3ead0fe5971dcbe79d8937fe (patch)
treefcfadbc79770d90adccba0b66c80820978cc4038 /contrib/test_summary
parent2a5fcc0f5e33507790265647c5d085650c7e8763 (diff)
downloadgcc-6a23d9c285645acd3ead0fe5971dcbe79d8937fe.tar.gz
2009-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40704 * test_summary: Filter out "\r". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/test_summary')
-rwxr-xr-xcontrib/test_summary2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/test_summary b/contrib/test_summary
index 9bb06051efd..f7cddf4af78 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -131,7 +131,7 @@ configflags == "" {
$2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
/\===.*Summary/ { print ""; print; blanks=1; }
/tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }
-/^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { print; }
+/^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { sub ("\r", ""); print; }
/^using:/ { print ""; print; print ""; }
# dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; }
# dumpall != 0 { print; }