Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tests



I needed the following patch to get the build to work with MKRUMP=no.

Robert Swindells

Index: Makefile
===================================================================
RCS file: /cvsroot/src/tests/net/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile    5 Jan 2015 22:38:36 -0000       1.20
+++ Makefile    20 May 2015 17:08:29 -0000
@@ -4,9 +4,10 @@
 
 TESTSDIR=      ${TESTSBASE}/net
 
-TESTS_SUBDIRS=         fdpass in_cksum mcast net route sys
+TESTS_SUBDIRS=         fdpass in_cksum mcast net sys
 .if (${MKRUMP} != "no")
-TESTS_SUBDIRS+=                bpf bpfilter carp icmp if if_bridge if_loop mpls npf
+TESTS_SUBDIRS+=                bpf bpfilter carp icmp if if_bridge if_loop mpls npf \
+                       route
 .if (${MKSLJIT} != "no")
 TESTS_SUBDIRS+=                bpfjit
 .endif
Index: net/Makefile
===================================================================
RCS file: /cvsroot/src/tests/net/net/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- net/Makefile        13 May 2015 10:04:44 -0000      1.9
+++ net/Makefile        20 May 2015 17:08:29 -0000
@@ -16,6 +16,8 @@
 LDADD.t_raw+=  -lrumpnet_local -lrumpnet_netinet -lrumpnet_net
 LDADD.t_raw+=  -lrumpnet -lrumpvfs -lrump -lrumpuser -lrump -lpthread
 
+.if (${MKRUMP} != "no")
 TESTS_SH=      t_forwarding
+.endif
 
 .include <bsd.test.mk>


Home | Main Index | Thread Index | Old Index