Module Name:    src
Committed By:   lukem
Date:           Sun Jun 21 13:59:56 UTC 2020

Modified Files:
        src/external/bsd/atf/tests/atf/test-programs: Makefile
        src/external/bsd/atf/tests/atf/tools: Makefile

Log Message:
fix build of atf .cpp files


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    src/external/bsd/atf/tests/atf/test-programs/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/atf/tests/atf/tools/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/atf/tests/atf/test-programs/Makefile
diff -u src/external/bsd/atf/tests/atf/test-programs/Makefile:1.6 src/external/bsd/atf/tests/atf/test-programs/Makefile:1.7
--- src/external/bsd/atf/tests/atf/test-programs/Makefile:1.6	Sat Feb 15 04:15:20 2014
+++ src/external/bsd/atf/tests/atf/test-programs/Makefile	Sun Jun 21 13:59:56 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2014/02/15 04:15:20 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2020/06/21 13:59:56 lukem Exp $
 
 .include <bsd.init.mk>
 
@@ -11,6 +11,7 @@ KYUAFILE=	yes
 TESTS_C=	c_helpers
 
 TESTS_CXX=	cpp_helpers
+SRCS.cpp_helpers=cpp_helpers.cpp
 
 TESTS_SH=	sh_helpers
 .for t in config_test expect_test meta_data_test result_test srcdir_test

Index: src/external/bsd/atf/tests/atf/tools/Makefile
diff -u src/external/bsd/atf/tests/atf/tools/Makefile:1.7 src/external/bsd/atf/tests/atf/tools/Makefile:1.8
--- src/external/bsd/atf/tests/atf/tools/Makefile:1.7	Sat Feb 15 22:32:26 2014
+++ src/external/bsd/atf/tests/atf/tools/Makefile	Sun Jun 21 13:59:56 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2014/02/15 22:32:26 jmmv Exp $
+# $NetBSD: Makefile,v 1.8 2020/06/21 13:59:56 lukem Exp $
 
 USE_ATF_LIBTOOLS=	yes
 
@@ -23,7 +23,9 @@ TESTS_C=	expect_helpers \
 		several_tcs_helper \
 		zero_tcs_helper
 
-TESTS_CXX=	application_test \
+TESTS_CXX=
+.for test in	\
+		application_test \
 		atffile_test \
 		auto_array_test \
 		config_file_test \
@@ -44,6 +46,9 @@ TESTS_CXX=	application_test \
 		text_test \
 		ui_test \
 		user_test
+TESTS_CXX+=	${test}
+SRCS.${test}=	${test}.cpp
+.endfor
 
 TESTS_SH=	atf-config_test \
 		atf-report_test \

Reply via email to