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