PING: PATCH: PR testsuite/40704: ^M? in testsuite log leads to binary attachment

H.J. Lu hjl.tools@gmail.com
Mon Aug 17 19:26:00 GMT 2009


On Wed, Aug 5, 2009 at 11:46 AM, H.J. Lu<hongjiu.lu@intel.com> wrote:
> Hi,
>
> Please see
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40704
>
> for details.  This patch filters out "\r".  OK for trunk?
>
> Thanks.
>
>
> H.J.
> ---
> 2009-08-05  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR testsuite/40704
>        * test_summary: Filter out "\r".
>
> --- contrib/test_summary.foo    2009-04-26 08:33:38.000000000 -0700
> +++ contrib/test_summary        2009-08-05 11:40:01.000000000 -0700
> @@ -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; }
>

PING.


-- 
H.J.



More information about the Gcc-patches mailing list