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]

PATCH to testsuite/lib/old-dejagnu.exp



Most of the testsuite failures introcuded by my recent changes in the
way g++ report diagnostics have their roots in the fact I didn't
update testsuite/lib/old-dejagnu.exp to reflect the new way of saying
things.  The patch below reduces of the number of unexpected failures
to four (4): 

   g++.ext/instantiate1.C
   g++.other/loop2.C
   g++.pt/infinite1.C

I'm still working to fix them.
(Special thanks to Geoff Keating)

OK to commit?

-- Gaby
CodeSourcery, LLC                             http://www.codesourcery.com

2000-08-23  Gabriel Dos Reis  <gdr@codesourcery.com>

	* lib/old-dejagnu.exp (old-dejagnu): Reflect the new way of
	starting diagnostics.

Index: old-dejagnu.exp
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/lib/old-dejagnu.exp,v
retrieving revision 1.17
diff -p -r1.17 old-dejagnu.exp
*** old-dejagnu.exp	2000/07/20 18:04:46	1.17
--- old-dejagnu.exp	2000/08/23 21:39:01
*************** proc old-dejagnu { compiler prog name cf
*** 526,535 ****
  
      #look to see if this is all thats left, if so, all messages have been handled
      #send_user "comp_output: $comp_output\n"
!     regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*:   instantiated from \[^\n\]*" $comp_output "" comp_output
!     regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $comp_output "" comp_output
      regsub -all "(^|\n)collect: re(compiling|linking)\[^\n\]*" $comp_output "" comp_output
--- 526,535 ----
  
      #look to see if this is all thats left, if so, all messages have been handled
      #send_user "comp_output: $comp_output\n"
!     regsub -all "(^|\n)\[^\n\]*: In (function|method|member function|static member function|copy constructor|constructor|destructor) \[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*:   instantiated from \[^\n\]*" $comp_output "" comp_output
!     regsub -all "(^|\n)\[^\n\]*: At (top level|global scope):\[^\n\]*" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $comp_output "" comp_output
      regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $comp_output "" comp_output
      regsub -all "(^|\n)collect: re(compiling|linking)\[^\n\]*" $comp_output "" comp_output



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