devel/cmockery2 - The NetBSD Packages Collection

Reviving cmockery unit test framework from Google

Cmockery tests are compiled into a stand-alone executable and linked
with the cmockery library, the standard C library and module being
tested. Any symbols external to the module being tested should be
mocked - replaced with functions that return values determined by
the test - within the test application. Even though significant
differences may exist between the target execution environment of
a code module and the environment used to test the code the unit
testing is still valid since its goal is to test the logic of a
code modules at a functional level and not necessarily all of its
interactions with the target execution environment.

Other features:
- Lightweight C Unit test with mocking support
- JUnit XML report output which can be used with Jenkins
- Provides design-by-contract support

This project is a successor of http://code.google.com/p/cmockery-staging/
which is a successor of Google's http://code.google.com/p/cmockery/.

Build dependencies

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

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64cmockery2-1.3.9.tgz
NetBSD 10.0aarch64cmockery2-1.3.9.tgz
NetBSD 10.0aarch64ebcmockery2-1.3.9.tgz
NetBSD 10.0aarch64ebcmockery2-1.3.9.tgz
NetBSD 10.0alphacmockery2-1.3.9.tgz
NetBSD 10.0alphacmockery2-1.3.9.tgz
NetBSD 10.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 10.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 10.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 10.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 10.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 10.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 10.0i386cmockery2-1.3.9.tgz
NetBSD 10.0i386cmockery2-1.3.9.tgz
NetBSD 10.0powerpccmockery2-1.3.9.tgz
NetBSD 10.0powerpccmockery2-1.3.9.tgz
NetBSD 10.0powerpccmockery2-1.3.9.tgz
NetBSD 10.0sparc64cmockery2-1.3.9.tgz
NetBSD 10.0sparc64cmockery2-1.3.9.tgz
NetBSD 10.0sparccmockery2-1.3.9.tgz
NetBSD 10.0sparccmockery2-1.3.9.tgz
NetBSD 10.0vaxcmockery2-1.3.9.tgz
NetBSD 10.0vaxcmockery2-1.3.9.tgz
NetBSD 10.0vaxcmockery2-1.3.9.tgz
NetBSD 10.0x86_64cmockery2-1.3.9.tgz
NetBSD 10.0x86_64cmockery2-1.3.9.tgz
NetBSD 9.0aarch64cmockery2-1.3.9.tgz
NetBSD 9.0aarch64cmockery2-1.3.9.tgz
NetBSD 9.0alphacmockery2-1.3.9.tgz
NetBSD 9.0alphacmockery2-1.3.9.tgz
NetBSD 9.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 9.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 9.0earmv6hfcmockery2-1.3.9.tgz
NetBSD 9.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 9.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 9.0earmv7hfcmockery2-1.3.9.tgz
NetBSD 9.0i386cmockery2-1.3.9.tgz
NetBSD 9.0i386cmockery2-1.3.9.tgz
NetBSD 9.0m68kcmockery2-1.3.9.tgz
NetBSD 9.0powerpccmockery2-1.3.9.tgz
NetBSD 9.0powerpccmockery2-1.3.9.tgz
NetBSD 9.0powerpccmockery2-1.3.9.tgz
NetBSD 9.0sparc64cmockery2-1.3.9.tgz
NetBSD 9.0x86_64cmockery2-1.3.9.tgz
NetBSD 9.0x86_64cmockery2-1.3.9.tgz
NetBSD 9.3x86_64cmockery2-1.3.9.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.