BSD Ports

devel/check 0.15.2p0 OpenBSD

unit test framework for C programs

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
2cb5feb997
Categories
devel

Description

Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.

In the other systems

SystemPortVersion
OpenBSDdevel/check0.15.2p0
FreeBSDdevel/check0.15.2_1
NetBSDdevel/check0.15.2
DragonFlydevel/check0.15.2_1
MidnightBSDdevel/check0.15.2

Install

Binary package:

pkg_add check

From the ports tree:

cd /usr/ports/devel/check && make install

Dependencies

Commit history 1

DateCommitCreditsLog message
2cb5feb997 sthen avoid gnuism around variadic macros that causes issues with ports pulling this in that use -Werror. patch came from an upstream PR https://github.com/libcheck/check/pull/40 (which was closed because of an issue with MSVC)