b2d48be1bc
netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread
|
|
|
|
# TODO: t_name (missing pthread_getname_np support in FreeBSD)
|
|
NETBSD_ATF_TESTS_C= barrier_test
|
|
NETBSD_ATF_TESTS_C+= cond_test
|
|
NETBSD_ATF_TESTS_C+= condwait_test
|
|
NETBSD_ATF_TESTS_C+= detach_test
|
|
NETBSD_ATF_TESTS_C+= equal_test
|
|
NETBSD_ATF_TESTS_C+= fork_test
|
|
NETBSD_ATF_TESTS_C+= fpu_test
|
|
NETBSD_ATF_TESTS_C+= join_test
|
|
NETBSD_ATF_TESTS_C+= kill_test
|
|
NETBSD_ATF_TESTS_C+= mutex_test
|
|
NETBSD_ATF_TESTS_C+= once_test
|
|
NETBSD_ATF_TESTS_C+= preempt_test
|
|
NETBSD_ATF_TESTS_C+= rwlock_test
|
|
NETBSD_ATF_TESTS_C+= sem_test
|
|
NETBSD_ATF_TESTS_C+= sigmask_test
|
|
NETBSD_ATF_TESTS_C+= sigsuspend_test
|
|
NETBSD_ATF_TESTS_C+= siglongjmp_test
|
|
NETBSD_ATF_TESTS_C+= sleep_test
|
|
.if ${MACHINE} != "arm64" # ARM64TODO: Missing makecontext
|
|
NETBSD_ATF_TESTS_C+= swapcontext_test
|
|
.endif
|
|
|
|
NETBSD_ATF_TESTS_SH= atexit_test
|
|
NETBSD_ATF_TESTS_SH+= cancel_test
|
|
NETBSD_ATF_TESTS_SH+= exit_test
|
|
NETBSD_ATF_TESTS_SH+= resolv_test
|
|
|
|
DPADD+= ${LIBPTHREAD}
|
|
LDADD+= -lpthread
|
|
DPADD.fpu_test+= ${LIBM}
|
|
LDADD.fpu_test+= -lm
|
|
DPADD.sem_test+= ${LIBRT}
|
|
LDADD.sem_test+= -lrt
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
PROGS= h_atexit
|
|
PROGS+= h_cancel
|
|
PROGS+= h_exit
|
|
PROGS+= h_resolv
|
|
|
|
FILESDIR= ${TESTSDIR}
|
|
FILES= d_mach
|
|
|
|
TESTS_SUBDIRS= dlopen
|
|
|
|
.include <netbsd-tests.test.mk>
|
|
|
|
CFLAGS.condwait_test+= -I${SRCTOP}/contrib/netbsd-tests/lib/libc/gen
|
|
|
|
.include <bsd.test.mk>
|