include.c: Skip for VxWorks kernels.
authorRichard Sandiford <richard@codesourcery.com>
Wed, 4 Jul 2007 09:58:55 +0000 (09:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 4 Jul 2007 09:58:55 +0000 (09:58 +0000)
gcc/testsuite/
* gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.

From-SVN: r126309

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/include.c

index 0e355f34ffa1e9e891acf7a74fa2bf1b4f1b9e96..a7fac373f4bc414be5e6a3e8267e4f875312b1ee 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-04  Richard Sandiford  <richard@codesourcery.com>
+
+       * gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.
+
 2007-07-04  Richard Sandiford  <richard@codesourcery.com>
 
        * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels.
index ada8178ea9c418fa35767c676d20d1540cdb5f9c..0798382d0209780f527ecf5e108298bf3be1f05c 100644 (file)
@@ -2,7 +2,9 @@
 
 /* Test that macros are not expanded in the <> quotes of #inlcude.  */
 
-/* { dg-do preprocess } */
+/* vxWorksCommon.h uses the "#" operator to construct the name of an
+   include file, thus making the file incompatible with -traditional-cpp.  */
+/* { dg-do preprocess { target { ! vxworks_kernel } } } */
 
 #define __STDC__ 1             /* Stop complaints about non-ISO compilers.  */
 #define stdlib 1