1# $FreeBSD$ 2 3TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread 4 5# TODO: t_name (missing pthread_getname_np support in FreeBSD) 6NETBSD_ATF_TESTS_C= barrier_test 7NETBSD_ATF_TESTS_C+= cond_test 8NETBSD_ATF_TESTS_C+= condwait_test 9NETBSD_ATF_TESTS_C+= detach_test 10NETBSD_ATF_TESTS_C+= equal_test 11NETBSD_ATF_TESTS_C+= fork_test 12NETBSD_ATF_TESTS_C+= fpu_test 13NETBSD_ATF_TESTS_C+= join_test 14NETBSD_ATF_TESTS_C+= kill_test 15NETBSD_ATF_TESTS_C+= mutex_test 16NETBSD_ATF_TESTS_C+= once_test 17NETBSD_ATF_TESTS_C+= preempt_test 18NETBSD_ATF_TESTS_C+= rwlock_test 19NETBSD_ATF_TESTS_C+= sem_test 20NETBSD_ATF_TESTS_C+= sigmask_test 21NETBSD_ATF_TESTS_C+= sigsuspend_test 22NETBSD_ATF_TESTS_C+= siglongjmp_test 23NETBSD_ATF_TESTS_C+= sleep_test 24.if ${MACHINE} != "arm64" # ARM64TODO: Missing makecontext 25NETBSD_ATF_TESTS_C+= swapcontext_test 26.endif 27 28NETBSD_ATF_TESTS_SH= atexit_test 29NETBSD_ATF_TESTS_SH+= cancel_test 30NETBSD_ATF_TESTS_SH+= exit_test 31NETBSD_ATF_TESTS_SH+= resolv_test 32 33LIBADD+= pthread 34LIBADD.fpu_test+= m 35LIBADD.sem_test+= rt 36 37BINDIR= ${TESTSDIR} 38 39PROGS= h_atexit 40PROGS+= h_cancel 41PROGS+= h_exit 42PROGS+= h_resolv 43 44FILESDIR= ${TESTSDIR} 45FILES= d_mach 46 47TESTS_SUBDIRS= dlopen 48 49.include <netbsd-tests.test.mk> 50 51CFLAGS.condwait_test+= -I${SRCTOP}/contrib/netbsd-tests/lib/libc/gen 52 53.include <bsd.test.mk> 54