README: Correct command.

2007-02-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	* gcc.test-framework/README: Correct command.
	* gcc.test-framework/dg-outexistsnot-exp-P.c: Replace -W with
	-Wunused-value.
	* gcc.test-framework/dg-outexists-exp-F.c: Likewise.

From-SVN: r122274
parent 4be4340a
2007-02-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* gcc.test-framework/README: Correct command.
* gcc.test-framework/dg-outexistsnot-exp-P.c: Replace -W with
-Wunused-value.
* gcc.test-framework/dg-outexists-exp-F.c: Likewise.
2007-02-23 Nathan Sidwell <nathan@codesourcery.com> 2007-02-23 Nathan Sidwell <nathan@codesourcery.com>
* lib/target-supports.exp (check_effective_target_unwrapped): New. * lib/target-supports.exp (check_effective_target_unwrapped): New.
...@@ -19,7 +19,7 @@ To run these tests: ...@@ -19,7 +19,7 @@ To run these tests:
To check the results: To check the results:
TF=${SRC}/gcc/testsuite/gcc.test-framework TF=${SRC}/gcc/testsuite/gcc.test-framework
awk -f ${TF}/test-framework.awk gcc/testsuite/gcc.sum awk -f ${TF}/test-framework.awk gcc/testsuite/gcc/gcc.sum
The awk script prints unexpected results followed by the number of tests The awk script prints unexpected results followed by the number of tests
that passed and failed. that passed and failed.
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-W -Werror" } */ /* { dg-options "-Wunused-value -Werror" } */
int main (void) { 0; } /* { dg-warning "no effect" } */ int main (void) { 0; } /* { dg-warning "no effect" } */
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-W -Werror" } */ /* { dg-options "-Wunused-value -Werror" } */
int main (void) { 0; } /* { dg-warning "no effect" } */ int main (void) { 0; } /* { dg-warning "no effect" } */
......
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