Check-0.11.0

Introduction to Check

Check is a unit testing framework for C. It was installed by LFS in the temporary /tools directory. These instructions install it permanently.

This package is known to build and work properly using an LFS-8.1 platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/check

Installation of Check

Install Check by running the following commands:

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

To test the installation, issue make check.

Now, as the root user:

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

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Program: checkmk
Installed Library: libcheck.so
Installed Directory: /usr/share/doc/check-0.11.0

Short Descriptions

checkmk

is an Awk script used for generating C unit tests for use with the Check unit testing framework.

libcheck.so

contains the Check API functions.

Last updated on 2017-08-21 11:12:53 -0700