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