From: Neil Booth Date: Sat, 25 Nov 2000 15:39:37 +0000 (+0000) Subject: * gcc.dg/cpp/include2.c: Make test locale independent. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fe0a76c67073e9a162488ef84d700a7c0932a22;p=gcc.git * gcc.dg/cpp/include2.c: Make test locale independent. From-SVN: r37737 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 586f94102b3..e7ca09720f5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-11-25 Neil Booth + + * gcc.dg/cpp/include2.c: Update test to be locale independent. + 2000-11-25 Alexandre Oliva * gcc.c-torture/compile/20001123-2.c: New. diff --git a/gcc/testsuite/gcc.dg/cpp/include2.c b/gcc/testsuite/gcc.dg/cpp/include2.c index 6a67f76ca5f..228963d20a7 100644 --- a/gcc/testsuite/gcc.dg/cpp/include2.c +++ b/gcc/testsuite/gcc.dg/cpp/include2.c @@ -10,6 +10,8 @@ #include > /* { dg-warning "extra tokens" "" } */ #include "silly\"" /* { dg-error "missing" "" } */ -/* { dg-error "No such file" "" { target *-*-* } 10 } */ -/* { dg-error "No such file" "" { target *-*-* } 11 } */ +/* These first 2 errors are No such file or directory. However, this + message is locale-dependent, so don't test for it. */ +/* { dg-error "silly" "" { target *-*-* } 10 } */ +/* { dg-error "silly" "" { target *-*-* } 11 } */ /* { dg-warning "extra tokens" "" { target *-*-* } 11 } */