summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1999-01-07 00:17:40 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-01-07 00:17:40 +0000
commit692c4bf5c6cceea20ffdc806cb390dabb58fa9b0 (patch)
treecc4f55d530c8f6550d9e3d8a33ca6104cb2c5ee3 /contrib
parent1bf27b5bf3e7ad756011393cec9b726ced330851 (diff)
downloadgcc-692c4bf5c6cceea20ffdc806cb390dabb58fa9b0.tar.gz
test_summary (version): remove carriage return that gawk inserts in the version string for some reason
* test_summary (version): remove carriage return that gawk inserts in the version string for some reason From-SVN: r24552
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/test_summary2
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 98b7d0b6d76..2023d928aba 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-07 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * test_summary (version): remove carriage return that gawk inserts
+ in the version string for some reason
+
1998-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* egcs_update: Only touch files that already exist.
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; }