CVS commit: src/external/bsd/lutok/tests/lib/liblutok

2020-07-02 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Thu Jul  2 13:56:10 UTC 2020

Modified Files:
src/external/bsd/lutok/tests/lib/liblutok: Makefile

Log Message:
lutok: auto_ptr replaced; remove build workaround


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/lutok/tests/lib/liblutok/Makefile

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

Modified files:

Index: src/external/bsd/lutok/tests/lib/liblutok/Makefile
diff -u src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.3 src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.4
--- src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.3	Sun Jun 21 14:12:50 2020
+++ src/external/bsd/lutok/tests/lib/liblutok/Makefile	Thu Jul  2 13:56:10 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/06/21 14:12:50 lukem Exp $
+# $NetBSD: Makefile,v 1.4 2020/07/02 13:56:10 lukem Exp $
 
 .include 
 
@@ -10,9 +10,6 @@ SRCDIR=		${NETBSDSRCDIR}/external/bsd/lu
 CPPFLAGS+=	-DHAVE_CONFIG_H
 CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/liblutok
 
-# lutok uses auto_ptr; g++ 8 complains about it
-CXXFLAGS+=	-Wno-deprecated-declarations
-
 FILESDIR=	${TESTSDIR}
 
 TESTS_CXX=



CVS commit: src/external/bsd/lutok/tests/lib/liblutok

2020-07-02 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Thu Jul  2 13:56:10 UTC 2020

Modified Files:
src/external/bsd/lutok/tests/lib/liblutok: Makefile

Log Message:
lutok: auto_ptr replaced; remove build workaround


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/lutok/tests/lib/liblutok/Makefile

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



CVS commit: src/external/bsd/lutok/tests/lib/liblutok

2020-06-21 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sun Jun 21 14:12:50 UTC 2020

Modified Files:
src/external/bsd/lutok/tests/lib/liblutok: Makefile

Log Message:
lutok; fix build of c++ tests


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/lutok/tests/lib/liblutok/Makefile

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



CVS commit: src/external/bsd/lutok/tests/lib/liblutok

2020-06-21 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sun Jun 21 14:12:50 UTC 2020

Modified Files:
src/external/bsd/lutok/tests/lib/liblutok: Makefile

Log Message:
lutok; fix build of c++ tests


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/lutok/tests/lib/liblutok/Makefile

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

Modified files:

Index: src/external/bsd/lutok/tests/lib/liblutok/Makefile
diff -u src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.2 src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.3
--- src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.2	Fri Oct 18 23:36:10 2013
+++ src/external/bsd/lutok/tests/lib/liblutok/Makefile	Sun Jun 21 14:12:50 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2013/10/18 23:36:10 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/21 14:12:50 lukem Exp $
 
 .include 
 
@@ -10,14 +10,22 @@ SRCDIR=		${NETBSDSRCDIR}/external/bsd/lu
 CPPFLAGS+=	-DHAVE_CONFIG_H
 CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/liblutok
 
+# lutok uses auto_ptr; g++ 8 complains about it
+CXXFLAGS+=	-Wno-deprecated-declarations
+
 FILESDIR=	${TESTSDIR}
 
-TESTS_CXX=	c_gate_test \
+TESTS_CXX=
+.for test in	\
+		c_gate_test \
 		debug_test \
 		exceptions_test \
 		operations_test \
 		stack_cleaner_test \
 		state_test
+TESTS_CXX+=	${test}
+SRCS.${test}=	${test}.cpp
+.endfor
 
 LDADD+=		-llutok -llua
 DPADD+=		${LIBLUTOK} ${LIBLUA}