summaryrefslogtreecommitdiffstats
path: root/contrib/test_summary
diff options
context:
space:
mode:
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 5a28ddcaafe..fd76292682f 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -107,7 +107,7 @@ $1 ~ /\/configure$/ { $1 = "configure flags:"; configflags = $0 }
}
/--disable-haifa/ { prefix="haifa-disabled "; }
/--enable-haifa/ { prefix="haifa-enabled "; }
-$2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); $0 = save; }
+$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|# of )/ { print; }
OpenPOWER on IntegriCloud