re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)

2007-06-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR testsuite/25241
testsuite/
	* gcc.dg/cpp/mi1.c: Use dg-message for output that is not an error.
	* gcc.dg/cpp/mi5.c: Likewise.
	* gcc.dg/cpp/mi7.c: Likewise.

From-SVN: r125317
This commit is contained in:
Manuel López-Ibáñez 2007-06-04 21:11:51 +00:00
parent 8374844f75
commit da04dcb60a
4 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2007-06-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR testsuite/25241
* gcc.dg/cpp/mi1.c: Use dg-message for output that is not an error.
* gcc.dg/cpp/mi5.c: Likewise.
* gcc.dg/cpp/mi7.c: Likewise.
2007-06-04 Uros Bizjak <ubizjak@gmail.com>
PR c/32191

View file

@ -13,7 +13,7 @@
/* { dg-do compile }
{ dg-options "-H" }
{ dg-error "mi1c\.h\n\[^\n\]*mi1cc\.h\n\[^\n\]*mi1nd\.h\n\[^\n\]*mi1ndp\.h\n\[^\n\]*mi1x\.h" "redundant include check" { target *-*-* } 0 } */
{ dg-message "mi1c\.h\n\[^\n\]*mi1cc\.h\n\[^\n\]*mi1nd\.h\n\[^\n\]*mi1ndp\.h\n\[^\n\]*mi1x\.h" "redundant include check" { target *-*-* } 0 } */
#include "mi1c.h"
#include "mi1c.h"

View file

@ -7,7 +7,7 @@
/* { dg-do preprocess }
{ dg-options "-H -C" }
{ dg-error "mi1c\.h" "redundant include check with -C" { target *-*-* } 0 } */
{ dg-message "mi1c\.h" "redundant include check with -C" { target *-*-* } 0 } */
#include "mi1c.h"
#include "mi1c.h"

View file

@ -11,7 +11,7 @@
/* { dg-do preprocess }
{ dg-options "-H" }
{ dg-error "mi7a\.h\n\[^\n\]*mi7a\.h\n\[^\n\]*mi7b\.h\n\[^\n\]*mi7b\.h" "redundant include check" { target *-*-* } 0 } */
{ dg-message "mi7a\.h\n\[^\n\]*mi7a\.h\n\[^\n\]*mi7b\.h\n\[^\n\]*mi7b\.h" "redundant include check" { target *-*-* } 0 } */
#include "mi7a.h"
#include "mi7a.h"