test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.

* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
	Elide --with-gcc-version-trigger and --norecursion from
	configure flags.  Remove code to report status of haifa scheduler.

From-SVN: r34387
This commit is contained in:
Zack Weinberg 2000-06-04 02:06:54 +00:00 committed by Zack Weinberg
parent 90280148a6
commit dd5330e8e8
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2000-06-03 Zack Weinberg <zack@wolery.cumb.org>
* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
Elide --with-gcc-version-trigger and --norecursion from
configure flags. Remove code to report status of haifa scheduler.
2000-05-18 Alexandre Oliva <aoliva@cygnus.com> 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
* gcc_update (self): Set to `$0'. * gcc_update (self): Set to `$0'.

View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# (C) 1998-1999 Free Software Foundation # (C) 1998, 1999, 2000 Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br> # Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
# This script is Free Software, and it can be copied, distributed and # This script is Free Software, and it can be copied, distributed and
@ -87,10 +87,14 @@ BEGIN {
lang=""; lang="";
address="gcc-testresults@gcc.gnu.org"; address="gcc-testresults@gcc.gnu.org";
version="gcc"; version="gcc";
print "cat <<\EOF |"; print "cat <<'"'"'EOF'"'"' |";
'${prepend_logs+" system(\"cat $prepend_logs\"); "}' '${prepend_logs+" system(\"cat $prepend_logs\"); "}'
} }
$1 ~ /\/configure$/ { $1 = "configure flags:"; configflags = $0 } $1 ~ /\/configure$/ {
$1 = "configure flags:"; configflags = $0;
gsub(/--with-gcc-version-trigger=[^ ]* /, "", configflags);
gsub(/ --norecursion/, "", configflags)
}
/^Running target / { print ""; print; } /^Running target / { print ""; print; }
/^Target / { if (host != "") next; else host = $3; } /^Target / { if (host != "") next; else host = $3; }
/^Host / && host ~ /^unix\{.*\}$/ { host = $3 " " substr(host, 5); } /^Host / && host ~ /^unix\{.*\}$/ { host = $3 " " substr(host, 5); }
@ -98,8 +102,6 @@ $1 ~ /\/configure$/ { $1 = "configure flags:"; configflags = $0 }
/^[ ]*=== [^ ]+ tests ===/ { /^[ ]*=== [^ ]+ tests ===/ {
if (lang == "") lang = " "$2" "; else lang = " "; if (lang == "") lang = " "$2" "; else lang = " ";
} }
/--disable-haifa/ { prefix="haifa-disabled "; }
/--enable-haifa/ { prefix="haifa-enabled "; }
$2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; } $2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
/\===.*Summary/ { print ""; print; blanks=1; } /\===.*Summary/ { print ""; print; blanks=1; }
/tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; } /tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }