This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(libstdc++-v3) PATCH: Tweak test case failure markings
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 8 Mar 2003 04:15:44 -0600 (CST)
- Subject: (libstdc++-v3) PATCH: Tweak test case failure markings
- Reply-to: rittle at labs dot mot dot com
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() { }