diff options
| author | joerg <joerg@NetBSD.org> | 2011-05-20 13:03:45 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-05-20 13:03:45 +0000 |
| commit | d947fc2e9f9dd2272d712fb2fc68221ba5ea765f (patch) | |
| tree | f2b4793d41eca5b29a746b34ed79eafecde29754 /tests/lib/libobjc | |
| parent | dbf20b15ed0b4b58c707c660d51fb5579be46521 (diff) | |
Test case requires the GCC specific thread extension for Objective C, so
only enable the test if GCC is present and disable other compiler.
Diffstat (limited to 'tests/lib/libobjc')
| -rw-r--r-- | tests/lib/libobjc/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/lib/libobjc/Makefile b/tests/lib/libobjc/Makefile index 8e30f36bb25..f964a639176 100644 --- a/tests/lib/libobjc/Makefile +++ b/tests/lib/libobjc/Makefile @@ -1,8 +1,16 @@ -# $NetBSD: Makefile,v 1.1 2010/07/18 12:41:51 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2011/05/20 13:03:45 joerg Exp $ TESTSDIR= ${TESTSBASE}/lib/libobjc +.include <bsd.own.mk> + +UNSUPPORTED_COMPILER.clang= # defined +UNSUPPORTED_COMPILER.pcc= # defined + +.if !empty(AVAILABLE_COMPILER:Mgcc) TESTS_C= t_threads +.endif + SRCS.t_threads= t_threads.m WARNS?= 4 CFLAGS+= -pthread |
