Check-0.9.14

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-7.7 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.9.14 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.9.14

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 2015-02-23 13:51:12 -0800