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
parent 8374844f
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> 2007-06-04 Uros Bizjak <ubizjak@gmail.com>
PR c/32191 PR c/32191
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
/* { dg-do compile } /* { dg-do compile }
{ dg-options "-H" } { 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"
#include "mi1c.h" #include "mi1c.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
/* { dg-do preprocess } /* { dg-do preprocess }
{ dg-options "-H -C" } { 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"
#include "mi1c.h" #include "mi1c.h"
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/* { dg-do preprocess } /* { dg-do preprocess }
{ dg-options "-H" } { 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"
#include "mi7a.h" #include "mi7a.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment