6.55. Check-0.12.0

Check is a unit testing framework for C.

Approximate build time: 0.1 SBU (about 3.0 SBU with tests)
Required disk space: 12 MB

6.55.1. Installation of Check

Prepare Check for compilation:

./configure --prefix=/usr

Build the package:

make

Compilation is now complete. To run the Check test suite, issue the following command:

make check

Note that the Check test suite may take a relatively long (up to 4 SBU) time.

Install the package and fix a script:

make docdir=/usr/share/doc/check-0.12.0 install
sed -i '1 s/tools/usr/' /usr/bin/checkmk

6.55.2. Contents of Check

Installed program: checkmk
Installed library: libcheck.{a,so}

Short Descriptions

checkmk

Awk script for generating C unit tests for use with the Check unit testing framework

libcheck.{a,so}

Contains functions that allow Check to be called from a test program