Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libobjc Test case requires the GCC specific thread...
details: https://anonhg.NetBSD.org/src/rev/779c1cb17b96
branches: trunk
changeset: 765155:779c1cb17b96
user: joerg <joerg%NetBSD.org@localhost>
date: Fri May 20 13:03:45 2011 +0000
description:
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:
tests/lib/libobjc/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 20c966697be6 -r 779c1cb17b96 tests/lib/libobjc/Makefile
--- a/tests/lib/libobjc/Makefile Fri May 20 09:29:08 2011 +0000
+++ b/tests/lib/libobjc/Makefile Fri May 20 13:03:45 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index