]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/40704 (^M? in testsuite log leads to binary attachment)
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 18 Aug 2009 19:40:48 +0000 (19:40 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 18 Aug 2009 19:40:48 +0000 (12:40 -0700)
2009-08-18  H.J. Lu  <hongjiu.lu@intel.com>

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

From-SVN: r150898

contrib/ChangeLog
contrib/test_summary

index 072c904b067b718621f1b7a33ea93929290f298a..6ea5ebf24f5d57234b21c367402e125dae22c4dc 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * compare-debug: Don't fail just because of .eh_frame differences.
index 9bb06051efd062c98b127eb018cacbd816f038e9..f7cddf4af786df0768bc057ac530963c201edf7a 100755 (executable)
@@ -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; }