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