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]

(libstdc++-v3) PATCH: Tweak test case failure markings


The dg-excess-errors marking is very powerful and overrides all other
dg-error markings.  I see why Benjamin added it back in; but tweak to
remove false failures from many ports.  Installed as obvious.

	* testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.

Index: testsuite/26_numerics/c99_classification_macros_c.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/26_numerics/c99_classification_macros_c.cc,v
retrieving revision 1.3
diff -c -r1.3 c99_classification_macros_c.cc
*** testsuite/26_numerics/c99_classification_macros_c.cc	21 Jan 2003 15:29:19 -0000	1.3
--- testsuite/26_numerics/c99_classification_macros_c.cc	8 Mar 2003 10:08:43 -0000
***************
*** 28,38 ****
  // the GNU General Public License.
  
  // { dg-do compile { xfail *-*-linux-gnu } }
! // { dg-excess-errors "" }
  
  #include <math.h>
  
! void fpclassify() { }  // { dg-error "parse error" "" { xfail *-*-linux-gnu } }
  
  void isfinite() { }
  
--- 28,38 ----
  // the GNU General Public License.
  
  // { dg-do compile { xfail *-*-linux-gnu } }
! // { dg-excess-errors "" { target *-*-linux-gnu } }
  
  #include <math.h>
  
! void fpclassify() { }
  
  void isfinite() { }
  


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