This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to fix a contrib/test_summary problem with the trunk


This one-line patch fixes contrib/test_summary to work correctly on the trunk.
Without it, it gets fooled by changes in the format of the config.status
file and failes to find the LAST_UPDATED file.  The problem is that the
regexps that immediately follow the line that I added match two different
lines, and only the one that does not contain TOPLEVEL_CONFIGURE_ARGUMENTS
has the format that test_summary expects.

ChangeLog entry:
2003-01-14  Joe Buck <Joe.Buck@synopsys.com>

	* test_summary (configflags): Don't be fooled by the new
	TOPLEVEL_CONFIGURE_ARGUMENTS cruft in config.status.
	   
Index: test_summary
===================================================================
RCS file: /cvsroot/gcc/gcc/contrib/test_summary,v
retrieving revision 1.23
diff -u -r1.23 test_summary
--- test_summary	10 Jan 2003 21:12:39 -0000	1.23
+++ test_summary	14 Jan 2003 22:55:07 -0000
@@ -94,6 +94,7 @@
   print "cat <<'"'"'EOF'"'"' |";
 '${prepend_logs+"  system(\"cat $prepend_logs\"); "}'
 }
+$0 ~ /TOPLEVEL_CONFIGURE_ARGUMENTS/ { next;}
 $0 ~ /^[^ ]*\/configure / || $0 ~ /^# [^ ]*\/configure / {
     configflags = $0 " ";
     gsub(/^# /, "", configflags);

-- 
Q. What's more of a headache than a bug in a compiler.
A. Bugs in six compilers.  -- Mark Johnson


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]