1# $FreeBSD$ 2 3ATF_TESTS_C+= heapsort_test 4ATF_TESTS_C+= mergesort_test 5ATF_TESTS_C+= qsort_test 6 7# TODO: t_getenv_thread, t_mi_vector_hash 8NETBSD_ATF_TESTS_C+= abs_test 9NETBSD_ATF_TESTS_C+= atoi_test 10NETBSD_ATF_TESTS_C+= div_test 11NETBSD_ATF_TESTS_C+= getenv_test 12NETBSD_ATF_TESTS_C+= exit_test 13NETBSD_ATF_TESTS_C+= hsearch_test 14NETBSD_ATF_TESTS_C+= posix_memalign_test 15NETBSD_ATF_TESTS_C+= random_test 16NETBSD_ATF_TESTS_C+= strtod_test 17NETBSD_ATF_TESTS_C+= strtol_test 18NETBSD_ATF_TESTS_C+= system_test 19 20# TODO: need to come up with a correct explanation of what the patch pho does 21# with h_atexit 22#ATF_TESTS_SH= atexit_test 23NETBSD_ATF_TESTS_SH= getopt_test 24 25.include "../Makefile.netbsd-tests" 26 27BINDIR= ${TESTSDIR} 28 29# TODO: see comment above 30#PROGS+= h_atexit 31PROGS+= h_getopt h_getopt_long 32 33CFLAGS+= -I${.CURDIR} 34 35.for t in h_getopt h_getopt_long 36CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests 37LDFLAGS.$t+= -L${LIBNETBSD_OBJDIR} 38 39LIBADD.${t}+= netbsd util 40.endfor 41 42LIBADD.strtod_test+= m 43 44.include <bsd.test.mk> 45