Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/lutok/tests/lib/liblutok lutok; fix build of c+...
details: https://anonhg.NetBSD.org/src/rev/cba94756bed0
branches: trunk
changeset: 1011159:cba94756bed0
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jun 21 14:12:50 2020 +0000
description:
lutok; fix build of c++ tests
diffstat:
external/bsd/lutok/tests/lib/liblutok/Makefile | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 14b8b0d05a37 -r cba94756bed0 external/bsd/lutok/tests/lib/liblutok/Makefile
--- a/external/bsd/lutok/tests/lib/liblutok/Makefile Sun Jun 21 14:11:54 2020 +0000
+++ b/external/bsd/lutok/tests/lib/liblutok/Makefile Sun Jun 21 14:12:50 2020 +0000
@@ -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 <bsd.own.mk>
@@ -10,14 +10,22 @@
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}
Home |
Main Index |
Thread Index |
Old Index