From fe643776c1c5732c2d5d8354a64b520b7007e15c Mon Sep 17 00:00:00 2001 From: jmmv Date: Thu, 6 Mar 2014 14:11:44 +0000 Subject: Import atf-0.20. This is a MFC of r261897 and r262000 and should allow all of the atf tests to pass. --- lib/atf/libatf-c++/Makefile | 6 +----- lib/atf/libatf-c++/tests/detail/Makefile | 14 ++++++++++---- lib/atf/libatf-c/tests/detail/Makefile | 12 ++++++++---- 3 files changed, 19 insertions(+), 13 deletions(-) (limited to 'lib') diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile index ff05da7..0f301e1 100644 --- a/lib/atf/libatf-c++/Makefile +++ b/lib/atf/libatf-c++/Makefile @@ -28,7 +28,7 @@ .include LIB= atf-c++ -SHLIB_MAJOR= 1 +SHLIB_MAJOR= 2 # libatf-c++ depends on the C version of the ATF library to build. DPADD= ${LIBATFC} @@ -53,20 +53,16 @@ SRCS= application.cpp \ config.cpp \ env.cpp \ exceptions.cpp \ - expand.cpp \ fs.cpp \ - parser.cpp \ process.cpp \ tests.cpp \ text.cpp \ - ui.cpp \ utils.cpp INCS= build.hpp \ check.hpp \ config.hpp \ macros.hpp \ - noncopyable.hpp \ tests.hpp \ utils.hpp INCSDIR= ${INCLUDEDIR}/atf-c++ diff --git a/lib/atf/libatf-c++/tests/detail/Makefile b/lib/atf/libatf-c++/tests/detail/Makefile index e4ed1a5..4e2e9cf 100644 --- a/lib/atf/libatf-c++/tests/detail/Makefile +++ b/lib/atf/libatf-c++/tests/detail/Makefile @@ -12,15 +12,21 @@ CFLAGS+= -I${ATF} .for _T in application_test \ env_test \ exceptions_test \ - expand_test \ fs_test \ - parser_test \ process_test \ sanity_test \ - text_test \ - ui_test + text_test ATF_TESTS_CXX+= ${_T} SRCS.${_T}= ${_T}.cpp test_helpers.cpp .endfor +.for p in version_helper +PROGS_CXX+= ${p} +SRCS.${p}= ${p}.cpp +MAN.${p}= # defined +BINDIR.${p}= ${TESTSDIR} +.endfor +version_helper.o: atf-version + +.include "../../../common.mk" .include diff --git a/lib/atf/libatf-c/tests/detail/Makefile b/lib/atf/libatf-c/tests/detail/Makefile index 82bbf6f..472ff9c 100644 --- a/lib/atf/libatf-c/tests/detail/Makefile +++ b/lib/atf/libatf-c/tests/detail/Makefile @@ -22,9 +22,13 @@ ATF_TESTS_C+= ${_T} SRCS.${_T}= ${_T}.c test_helpers.c .endfor -PROGS+= process_helpers -SRCS.process_helpers= process_helpers.c -MAN.process_helpers= # defined -BINDIR.process_helpers= ${TESTSDIR} +.for p in process_helpers version_helper +PROGS+= ${p} +SRCS.${p}= ${p}.c +MAN.${p}= # defined +BINDIR.${p}= ${TESTSDIR} +.endfor +version_helper.o: atf-version +.include "../../../common.mk" .include -- cgit v1.1