Module Name:    src
Committed By:   dyoung
Date:           Sat Aug 27 18:55:52 UTC 2011

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/lib: Makefile
        src/tests/lib/libppath: Makefile

Log Message:
Build and install ppath(3) tests.


To generate a diff of this commit:
cvs rdiff -u -r1.377 -r1.378 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.14 -r1.15 src/tests/lib/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libppath/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.377 src/distrib/sets/lists/tests/mi:1.378
--- src/distrib/sets/lists/tests/mi:1.377	Thu Aug 25 15:34:05 2011
+++ src/distrib/sets/lists/tests/mi	Sat Aug 27 18:55:52 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.377 2011/08/25 15:34:05 dyoung Exp $
+# $NetBSD: mi,v 1.378 2011/08/27 18:55:52 dyoung Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -558,6 +558,8 @@
 ./usr/libdata/debug/usr/tests/lib/libposix/posix1/t_rename.debug	tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libposix/posix2			tests-lib-debug
 ./usr/libdata/debug/usr/tests/lib/libposix/posix2/t_rename.debug	tests-lib-debug		debug,atf
+./usr/libdata/debug/usr/tests/lib/libppath				tests-lib-debug
+./usr/libdata/debug/usr/tests/lib/libppath/t_ppath.debug			tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libprop				tests-lib-debug
 ./usr/libdata/debug/usr/tests/lib/libprop/t_basic.debug			tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread				tests-lib-debug
@@ -2261,6 +2263,9 @@
 ./usr/tests/lib/libposix/posix2			tests-lib-tests		atf
 ./usr/tests/lib/libposix/posix2/Atffile		tests-lib-tests		atf
 ./usr/tests/lib/libposix/posix2/t_rename	tests-lib-tests		atf
+./usr/tests/lib/libppath			tests-lib-tests		atf
+./usr/tests/lib/libppath/Atffile		tests-lib-tests		atf
+./usr/tests/lib/libppath/t_ppath		tests-lib-tests		atf
 ./usr/tests/lib/libprop				tests-lib-tests		atf
 ./usr/tests/lib/libprop/Atffile			tests-lib-tests		atf
 ./usr/tests/lib/libprop/t_basic			tests-lib-tests		atf

Index: src/tests/lib/Makefile
diff -u src/tests/lib/Makefile:1.14 src/tests/lib/Makefile:1.15
--- src/tests/lib/Makefile:1.14	Sun Apr 10 09:49:13 2011
+++ src/tests/lib/Makefile	Sat Aug 27 18:55:51 2011
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2011/04/10 09:49:13 blymn Exp $
+# $NetBSD: Makefile,v 1.15 2011/08/27 18:55:51 dyoung Exp $
 
 .include <bsd.own.mk>
 
 TESTS_SUBDIRS=	csu libbluetooth libc libcurses libevent libm \
-		libobjc libposix libprop libpthread \
+		libobjc libposix libppath libprop libpthread \
 		librt librumpclient librumphijack libutil semaphore
 
 .if ${MKCRYPTO} != "no"

Index: src/tests/lib/libppath/Makefile
diff -u src/tests/lib/libppath/Makefile:1.1 src/tests/lib/libppath/Makefile:1.2
--- src/tests/lib/libppath/Makefile:1.1	Thu Aug 25 19:09:46 2011
+++ src/tests/lib/libppath/Makefile	Sat Aug 27 18:55:52 2011
@@ -1,11 +1,12 @@
-# $Id: Makefile,v 1.1 2011/08/25 19:09:46 dyoung Exp $
+# $Id: Makefile,v 1.2 2011/08/27 18:55:52 dyoung Exp $
 
 .include <bsd.own.mk>
 
-LIBPPATH != make -V .OBJDIR -C $(.CURDIR)/../lib
+TESTSDIR=	${TESTSBASE}/lib/libppath
 
-TESTS_C=t_ppath t_proplib
-SRCS.t_proplib=t_proplib.c personnel.c personnel.h
+#LIBPPATH != make -V .OBJDIR -C $(.CURDIR)/../lib
+
+TESTS_C=t_ppath
 SRCS.t_ppath=t_ppath.c personnel.c personnel.h
 CPPFLAGS+=-I$(.OBJDIR)
 
@@ -19,8 +20,9 @@
 
 CLEANFILES+=personnel.c personnel.h
 
-LDADD+=-L$(LIBPPATH) -lppath -lprop
-DPADD+=$(LIBPPATH)/libppath.a
+#LDADD+=-L$(LIBPPATH)
+LDADD+=-lppath -lprop
+#DPADD+=$(LIBPPATH)/libppath.a
 
 .include <bsd.test.mk>
-.include "../mk/tags.mk"
+#.include "../mk/tags.mk"

Reply via email to