6.14. Check-0.9.13

The Check package is a unit testing framework for C.

6.14.1. Installation of Check

We will install Check into /tools to satisfy a dependency on it for Kbd and Libpipeline in the final system.

Prepare Check for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET}

Build the package:


Install the package:

make install

6.14.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 C the Check unit testing framework


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