aboutsummaryrefslogtreecommitdiff
path: root/contrib/test_summary
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1999-01-07 00:17:40 +0000
committerAlexandre Oliva <oliva@dcc.unicamp.br>1999-01-07 00:17:40 +0000
commit8cb2159f85c6914427a9943b2ee6190826f800ee (patch)
treecc4f55d530c8f6550d9e3d8a33ca6104cb2c5ee3 /contrib/test_summary
parent0cb9ef942c573ae32a3cb343f122e8de5fe30a01 (diff)
* test_summary (version): remove carriage return that gawk inserts
in the version string for some reason git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24552 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 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; }