8.53. Check-0.15.2

Check is a unit testing framework for C.

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

8.53.1. Installation of Check

Prepare Check for compilation:

./configure --prefix=/usr --disable-static

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:

make docdir=/usr/share/doc/check-0.15.2 install

8.53.2. Contents of Check

Installed program: checkmk
Installed library: libcheck.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