Commit c2d88223 by H.J. Lu Committed by H.J. Lu

re PR testsuite/40704 (^M? in testsuite log leads to binary attachment)

2009-08-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/40704
	* test_summary: Filter out "\r".

From-SVN: r150898
parent 488b329c
2009-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40704
* test_summary: Filter out "\r".
2009-06-02 Alexandre Oliva <aoliva@redhat.com> 2009-06-02 Alexandre Oliva <aoliva@redhat.com>
* compare-debug: Don't fail just because of .eh_frame differences. * compare-debug: Don't fail just because of .eh_frame differences.
......
...@@ -131,7 +131,7 @@ configflags == "" { ...@@ -131,7 +131,7 @@ configflags == "" {
$2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; } $2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
/\===.*Summary/ { print ""; print; blanks=1; } /\===.*Summary/ { print ""; print; blanks=1; }
/tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { 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 ""; } /^using:/ { print ""; print; print ""; }
# dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; } # dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; }
# dumpall != 0 { print; } # dumpall != 0 { print; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment