diff options
author | ngie <ngie@FreeBSD.org> | 2014-11-04 00:56:25 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-11-04 00:56:25 +0000 |
commit | cddd13d16775c573db6518e2d3bd0065670d03a6 (patch) | |
tree | b6fc5794492ca9bc8c5f03246e4866e96b01093f /lib/libc/tests/rpc | |
parent | 45ca3cac9513a8d0c987137956bdd965a077b441 (diff) | |
download | FreeBSD-src-cddd13d16775c573db6518e2d3bd0065670d03a6.zip FreeBSD-src-cddd13d16775c573db6518e2d3bd0065670d03a6.tar.gz |
Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately
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
Diffstat (limited to 'lib/libc/tests/rpc')
-rw-r--r-- | lib/libc/tests/rpc/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libc/tests/rpc/Makefile b/lib/libc/tests/rpc/Makefile new file mode 100644 index 0000000..0380294 --- /dev/null +++ b/lib/libc/tests/rpc/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +TESTSDIR= ${TESTSBASE}/lib/libc/rpc +SRCS.xdr_test= ${RPCSRC:.x=_xdr.c} t_xdr.c ${RPCSRC:.x=.h} + +NETBSD_ATF_TESTS_C= rpc_test +NETBSD_ATF_TESTS_C+= xdr_test + +RPCSRC= h_testbits.x +RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C + +h_testbits.h: ${RPCSRC} + ${RPCGEN} -h -o ${.TARGET} ${.ALLSRC} + +h_testbits_xdr.c: ${RPCSRC} h_testbits.h + ${RPCGEN} ${.ALLSRC:M*.x} + +CLEANFILES+= ${RPCSRC:.x=.h} ${RPCSRC:.x=.c} h_testbits_xdr.c +CFLAGS+= -I${.OBJDIR} +DPSRCS+= h_testbits.h + +LDADD+= -lrpcsvc -lutil +DPADD+= ${LIBRPCSVC} ${LIBUTIL} + +.include "../Makefile.netbsd-tests" + +.include <bsd.test.mk> |