Commit 20ad8688 by Iain Sandoe

gnu-api-2-class.mm: Skip for Darwin < 9.


gcc/testsuite:

	* obj-c++.dg/gnu-api-2-class.mm: Skip for Darwin < 9.
	* obj-c++.dg/gnu-api-2-ivar.mm: Likewise.
	* obj-c++.dg/gnu-api-2-method.mm: Likewise.
	* obj-c++.dg/gnu-api-2-objc.mm: Likewise.
	* obj-c++.dg/gnu-api-2-object.mm: Likewise.
	* obj-c++.dg/gnu-api-2-property.mm: Likewise.
	* obj-c++.dg/gnu-api-2-protocol.mm: Likewise.
	* obj-c++.dg/gnu-api-2-sel.mm: Likewise.
	* objc.dg/gnu-api-2-class.m: Likewise.
	* objc.dg/gnu-api-2-ivar.m: Likewise.
	* objc.dg/gnu-api-2-method.m: Likewise.
	* objc.dg/gnu-api-2-objc.m: Likewise.
	* objc.dg/gnu-api-2-object.m: Likewise.
	* objc.dg/gnu-api-2-property.m: Likewise.
	* objc.dg/gnu-api-2-protocol.m: Likewise.
	* objc.dg/gnu-api-2-sel.m: Likewise.

From-SVN: r168617
parent 5471aef0
2011-01-09 Iain Sandoe <iains@gcc.gnu.org> 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
* obj-c++.dg/gnu-api-2-class.mm: Skip for Darwin < 9.
* obj-c++.dg/gnu-api-2-ivar.mm: Likewise.
* obj-c++.dg/gnu-api-2-method.mm: Likewise.
* obj-c++.dg/gnu-api-2-objc.mm: Likewise.
* obj-c++.dg/gnu-api-2-object.mm: Likewise.
* obj-c++.dg/gnu-api-2-property.mm: Likewise.
* obj-c++.dg/gnu-api-2-protocol.mm: Likewise.
* obj-c++.dg/gnu-api-2-sel.mm: Likewise.
* objc.dg/gnu-api-2-class.m: Likewise.
* objc.dg/gnu-api-2-ivar.m: Likewise.
* objc.dg/gnu-api-2-method.m: Likewise.
* objc.dg/gnu-api-2-objc.m: Likewise.
* objc.dg/gnu-api-2-object.m: Likewise.
* objc.dg/gnu-api-2-property.m: Likewise.
* objc.dg/gnu-api-2-protocol.m: Likewise.
* objc.dg/gnu-api-2-sel.m: Likewise.
2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
* objc.dg/foreach-1.m: Skip for Darwin < 9. * objc.dg/foreach-1.m: Skip for Darwin < 9.
* objc.dg/objc-foreach-4.m: Likewise. * objc.dg/objc-foreach-4.m: Likewise.
* objc.dg/objc-foreach-5.m: Skip for Darwin < 9, adjust headers. * objc.dg/objc-foreach-5.m: Skip for Darwin < 9, adjust headers.
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'class', covering all functions starting with 'class'. */ This is test 'class', covering all functions starting with 'class'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'ivar', covering all functions starting with 'ivar'. */ This is test 'ivar', covering all functions starting with 'ivar'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'method', covering all functions starting with 'method'. */ This is test 'method', covering all functions starting with 'method'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'objc', covering all functions starting with 'objc'. */ This is test 'objc', covering all functions starting with 'objc'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'object', covering all functions starting with 'object'. */ This is test 'object', covering all functions starting with 'object'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'property', covering all functions starting with 'property'. */ This is test 'property', covering all functions starting with 'property'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */ objc/runtime.h. */
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'protocol', covering all functions starting with 'protocol'. */ This is test 'protocol', covering all functions starting with 'protocol'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'sel', covering all functions starting with 'sel'. */ This is test 'sel', covering all functions starting with 'sel'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */ objc/runtime.h. */
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'class', covering all functions starting with 'class'. */ This is test 'class', covering all functions starting with 'class'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'ivar', covering all functions starting with 'ivar'. */ This is test 'ivar', covering all functions starting with 'ivar'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'method', covering all functions starting with 'method'. */ This is test 'method', covering all functions starting with 'method'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'objc', covering all functions starting with 'objc'. */ This is test 'objc', covering all functions starting with 'objc'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'object', covering all functions starting with 'object'. */ This is test 'object', covering all functions starting with 'object'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'property', covering all functions starting with 'property'. */ This is test 'property', covering all functions starting with 'property'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */ objc/runtime.h. */
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'protocol', covering all functions starting with 'protocol'. */ This is test 'protocol', covering all functions starting with 'protocol'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
This is test 'sel', covering all functions starting with 'sel'. */ This is test 'sel', covering all functions starting with 'sel'. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include /* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */ objc/runtime.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