mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 00:34:33 -05:00
500 new testcases Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime. A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division
39 lines
823 B
Makefile
39 lines
823 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
TESTSDIR= ${TESTSBASE}/lib/libc/net
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
NETBSD_ATF_TESTS_C= getprotoent_test
|
|
NETBSD_ATF_TESTS_C+= ether_aton_test
|
|
|
|
SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c
|
|
|
|
aton_ether_subr.c: gen_ether_subr ${.CURDIR:H:H:H:H}/sys/net/if_ethersubr.c
|
|
${HOST_SH} ${.ALLSRC} ${.TARGET}
|
|
|
|
# TODO: hostent_test
|
|
NETBSD_ATF_TESTS_SH= nsdispatch_test
|
|
NETBSD_ATF_TESTS_SH+= protoent_test
|
|
NETBSD_ATF_TESTS_SH+= servent_test
|
|
|
|
PROGS= h_nsd_recurse
|
|
PROGS+= h_protoent
|
|
PROGS+= h_servent
|
|
PROGS+= h_dns_server
|
|
|
|
DPADD.h_nsd_recurse+= ${LIBPTHREAD}
|
|
LDADD.h_nsd_recurse+= -lpthread
|
|
|
|
CLEANFILES+= aton_ether_subr.c
|
|
|
|
.include "../Makefile.netbsd-tests"
|
|
|
|
# TODO: the testcases needs to be ported to FreeBSD
|
|
#TESTS_SUBDIRS= getaddrinfo
|
|
FILES= hosts
|
|
FILES+= resolv.conf
|
|
|
|
.include <bsd.test.mk>
|