3 OBJTOP= ${.OBJDIR:H:H:H}
4 SRCTOP= ${.CURDIR:H:H:H}
5 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread
7 TESTSDIR= ${TESTSBASE}/lib/libthr
9 # TODO: t_name (missing pthread_getname_np support in FreeBSD)
10 NETBSD_ATF_TESTS_C= barrier_test
11 NETBSD_ATF_TESTS_C+= cond_test
12 NETBSD_ATF_TESTS_C+= condwait_test
13 NETBSD_ATF_TESTS_C+= detach_test
14 NETBSD_ATF_TESTS_C+= equal_test
15 NETBSD_ATF_TESTS_C+= fork_test
16 NETBSD_ATF_TESTS_C+= fpu_test
17 NETBSD_ATF_TESTS_C+= join_test
18 NETBSD_ATF_TESTS_C+= kill_test
19 NETBSD_ATF_TESTS_C+= mutex_test
20 NETBSD_ATF_TESTS_C+= once_test
21 NETBSD_ATF_TESTS_C+= preempt_test
22 NETBSD_ATF_TESTS_C+= rwlock_test
23 NETBSD_ATF_TESTS_C+= sem_test
24 NETBSD_ATF_TESTS_C+= sigmask_test
25 NETBSD_ATF_TESTS_C+= sigsuspend_test
26 NETBSD_ATF_TESTS_C+= siglongjmp_test
27 NETBSD_ATF_TESTS_C+= sleep_test
28 .if ${MACHINE} != "arm64" # ARM64TODO: Missing makecontext
29 NETBSD_ATF_TESTS_C+= swapcontext_test
32 NETBSD_ATF_TESTS_SH= atexit_test
33 NETBSD_ATF_TESTS_SH+= cancel_test
34 NETBSD_ATF_TESTS_SH+= exit_test
35 NETBSD_ATF_TESTS_SH+= resolv_test
39 DPADD.fpu_test+= ${LIBM}
41 DPADD.sem_test+= ${LIBRT}
56 .include <netbsd-tests.test.mk>
58 CFLAGS.condwait_test+= -I${SRCTOP}/contrib/netbsd-tests/lib/libc/gen
60 .include <bsd.test.mk>