1# $FreeBSD$ 2 3PACKAGE= tests 4FILESGROUPS= TESTS 5TESTSPACKAGE= ${PACKAGE} 6 7ATF_TESTS_C+= ether_test 8ATF_TESTS_C+= eui64_aton_test 9ATF_TESTS_C+= eui64_ntoa_test 10 11CFLAGS+= -I${.CURDIR} 12 13NETBSD_ATF_TESTS_C+= getprotoent_test 14NETBSD_ATF_TESTS_C+= ether_aton_test 15 16SRCS.ether_aton_test= aton_ether_subr.c t_ether_aton.c 17 18# TODO: hostent_test 19NETBSD_ATF_TESTS_SH= nsdispatch_test 20NETBSD_ATF_TESTS_SH+= protoent_test 21NETBSD_ATF_TESTS_SH+= servent_test 22 23BINDIR= ${TESTSDIR} 24 25PROGS= h_nsd_recurse 26PROGS+= h_protoent 27PROGS+= h_servent 28PROGS+= h_dns_server 29 30LIBADD.h_nsd_recurse+= pthread 31 32CLEANFILES+= aton_ether_subr.c 33aton_ether_subr.c: gen_ether_subr ${SRCTOP}/sys/net/if_ethersubr.c 34 ${__MAKE_SHELL} ${.ALLSRC} ${.TARGET} 35 36.include "../Makefile.netbsd-tests" 37 38# TODO: the testcases needs to be ported to FreeBSD 39#TESTS_SUBDIRS= getaddrinfo 40FILES+= hosts 41FILES+= resolv.conf 42 43.include <bsd.test.mk> 44