5 ATF_TESTS_C+= heapsort_test
6 ATF_TESTS_C+= mergesort_test
7 ATF_TESTS_C+= qsort_test
8 ATF_TESTS_C+= tsearch_test
9 .if ${COMPILER_FEATURES:Mc++11}
10 ATF_TESTS_CXX+= cxa_thread_atexit_test
11 ATF_TESTS_CXX+= cxa_thread_atexit_nothr_test
14 # TODO: t_getenv_thread, t_mi_vector_hash, t_strtoi
15 NETBSD_ATF_TESTS_C+= abs_test
16 NETBSD_ATF_TESTS_C+= atoi_test
17 NETBSD_ATF_TESTS_C+= div_test
18 NETBSD_ATF_TESTS_C+= getenv_test
19 NETBSD_ATF_TESTS_C+= exit_test
20 NETBSD_ATF_TESTS_C+= hsearch_test
21 NETBSD_ATF_TESTS_C+= posix_memalign_test
22 NETBSD_ATF_TESTS_C+= random_test
23 NETBSD_ATF_TESTS_C+= strtod_test
24 NETBSD_ATF_TESTS_C+= strtol_test
25 NETBSD_ATF_TESTS_C+= system_test
27 # TODO: need to come up with a correct explanation of what the patch pho does
29 #ATF_TESTS_SH= atexit_test
30 NETBSD_ATF_TESTS_SH= getopt_test
32 .include "../Makefile.netbsd-tests"
36 # TODO: see comment above
38 PROGS+= h_getopt h_getopt_long
42 CXXFLAGS.cxa_thread_atexit_test+= -std=c++11
43 CXXFLAGS.cxa_thread_atexit_nothr_test+= -std=c++11
44 LIBADD.cxa_thread_atexit_test+= pthread
46 .for t in h_getopt h_getopt_long
47 CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests
48 LDFLAGS.$t+= -L${LIBNETBSD_OBJDIR}
50 LIBADD.${t}+= netbsd util
53 LIBADD.strtod_test+= m
55 .include <bsd.test.mk>