Check-0.9.12

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.5 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. Some tests may fail for unknown reasons.

Now, as the root user:

make docdir=/usr/share/doc/check-0.9.12 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.12

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 2014-02-22 18:30:29 -0800