Monday, June 10, 2019

NEW: devel/cpputest

Please find attach a simple port for cpputest-3.8. This port is needed
by the upcoming weechat update from 2.4 to 2.5. I've been trying to
activate the weechat tests so I need this c++ test framework.

To stop a lot of clang noise I added the following compiler option:

CXXFLAGS += -Wno-zero-as-null-pointer-constant \
-Wno-c++98-compat \
-Wno-inconsistent-missing-destructor-override \
-Wno-c++98-compat-pedantic \
-Wno-cast-qual

Or do we want all the noise? Tested with upcoming weechat tests on amd64.
Compiles fine with base clang and gcc.

Information for inst:cpputest-3.8

Comment:
unit testing and mocking framework for C/C++

Description:
CppUTest is a C /C++ based unit xUnit test framework for unit testing and for
test-driving your code. It is written in C++ but is used in C and C++ projects
and frequently used in embedded systems but it works for any C/C++ project.

Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>

WWW: https://cpputest.github.io

No comments:

Post a Comment