This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix gcc.dg/cpp/isysroot-2.c failure


Devang's isysroot-2.c test is meant to only run on Darwin systems.
His test case attempts to restrict the targets the test is run on, but
didn't quite get it right.

Okay for mainline?


2004-11-26  Ben Elliston  <bje@au.ibm.com>

	* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to
	dg-do directive.

Index: isysroot-2.c
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/gcc/testsuite/gcc.dg/cpp/isysroot-2.c,v
retrieving revision 1.2
diff -u -p -r1.2 isysroot-2.c
--- isysroot-2.c	24 Nov 2004 17:47:29 -0000	1.2
+++ isysroot-2.c	26 Nov 2004 01:25:23 -0000
@@ -1,5 +1,5 @@
-/* { dg-options "-isysroot ${srcdir}/gcc.dg/cpp" { target *-*-darwin* } } */
-/* { dg-do compile } */
+/* { dg-options "-isysroot ${srcdir}/gcc.dg/cpp" } */
+/* { dg-do compile { target *-*-darwin* } } */
 
 #include <Carbon/Carbon.h>
 int main()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]