devel/check - The NetBSD Packages Collection

Unit test framework for C

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.

There is a tutorial introduction to check at

    http://check.sourceforge.net/tutorial.html

This includes a brief comparison of check with other C unit test
frameworks, such as GNU Autounit, cUnit, and CUnit.

Check was inspired by similar frameworks that currently exist for most
programming languages; the most famous example being JUnit for Java
(www.junit.org). There is a list of unit test frameworks for multiple
languages at www.xprogramming.com/software.htm .

Build dependencies

devel/libtool-base pkgtools/mktools devel/automake devel/autoconf devel/pkgconf pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64check-0.15.2.tgz
NetBSD 10.0aarch64check-0.15.2.tgz
NetBSD 10.0aarch64ebcheck-0.15.2.tgz
NetBSD 10.0aarch64ebcheck-0.15.2.tgz
NetBSD 10.0alphacheck-0.15.2.tgz
NetBSD 10.0alphacheck-0.15.2.tgz
NetBSD 10.0earmv4check-0.15.2.tgz
NetBSD 10.0earmv4check-0.15.2.tgz
NetBSD 10.0earmv6hfcheck-0.15.2.tgz
NetBSD 10.0earmv6hfcheck-0.15.2.tgz
NetBSD 10.0earmv6hfcheck-0.15.2.tgz
NetBSD 10.0earmv7hfcheck-0.15.2.tgz
NetBSD 10.0earmv7hfcheck-0.15.2.tgz
NetBSD 10.0earmv7hfcheck-0.15.2.tgz
NetBSD 10.0i386check-0.15.2.tgz
NetBSD 10.0i386check-0.15.2.tgz
NetBSD 10.0m68kcheck-0.15.2.tgz
NetBSD 10.0m68kcheck-0.15.2.tgz
NetBSD 10.0m68kcheck-0.15.2.tgz
NetBSD 10.0m68kcheck-0.15.2.tgz
NetBSD 10.0mips64ebcheck-0.15.2.tgz
NetBSD 10.0mips64ebcheck-0.15.2.tgz
NetBSD 10.0powerpccheck-0.15.2.tgz
NetBSD 10.0powerpccheck-0.15.2.tgz
NetBSD 10.0powerpccheck-0.15.2.tgz
NetBSD 10.0sh3elcheck-0.15.2.tgz
NetBSD 10.0sh3elcheck-0.15.2.tgz
NetBSD 10.0sparc64check-0.15.2.tgz
NetBSD 10.0sparc64check-0.15.2.tgz
NetBSD 10.0sparccheck-0.15.2.tgz
NetBSD 10.0sparccheck-0.15.2.tgz
NetBSD 10.0vaxcheck-0.15.2.tgz
NetBSD 10.0vaxcheck-0.15.2.tgz
NetBSD 10.0vaxcheck-0.15.2.tgz
NetBSD 10.0x86_64check-0.15.2.tgz
NetBSD 10.0x86_64check-0.15.2.tgz
NetBSD 9.0aarch64check-0.15.2.tgz
NetBSD 9.0aarch64check-0.15.2.tgz
NetBSD 9.0alphacheck-0.15.2.tgz
NetBSD 9.0alphacheck-0.15.2.tgz
NetBSD 9.0earmv4check-0.15.2.tgz
NetBSD 9.0earmv4check-0.15.2.tgz
NetBSD 9.0earmv4check-0.15.2.tgz
NetBSD 9.0earmv6hfcheck-0.15.2.tgz
NetBSD 9.0earmv6hfcheck-0.15.2.tgz
NetBSD 9.0earmv6hfcheck-0.15.2.tgz
NetBSD 9.0earmv7hfcheck-0.15.2.tgz
NetBSD 9.0earmv7hfcheck-0.15.2.tgz
NetBSD 9.0earmv7hfcheck-0.15.2.tgz
NetBSD 9.0i386check-0.15.2.tgz
NetBSD 9.0i386check-0.15.2.tgz
NetBSD 9.0m68kcheck-0.15.2.tgz
NetBSD 9.0m68kcheck-0.15.2.tgz
NetBSD 9.0m68kcheck-0.15.2.tgz
NetBSD 9.0m68kcheck-0.15.2.tgz
NetBSD 9.0powerpccheck-0.15.2.tgz
NetBSD 9.0powerpccheck-0.15.2.tgz
NetBSD 9.0powerpccheck-0.15.2.tgz
NetBSD 9.0sparc64check-0.15.2.tgz
NetBSD 9.0sparc64check-0.15.2.tgz
NetBSD 9.0x86_64check-0.15.2.tgz
NetBSD 9.0x86_64check-0.15.2.tgz
NetBSD 9.3x86_64check-0.15.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.