5.13. Check-0.9.9

Check is a unit testing framework for C.

Approximate build time: 0.1 SBU
Required disk space: 6.9 MB

5.13.1. Installation of Check

Prepare Check for compilation:

./configure --prefix=/tools

Build the package:


Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Check test suite anyway, 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:

make install

5.13.2. Contents of Check

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

Short Descriptions


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


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