Check

From CBLFS
Jump to: navigation, search
Download Source: http://downloads.sourceforge.net/check/check-0.9.8.tar.gz

Contents

Introduction to Check

Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.

Project Homepage: http://check.sourceforge.net/

Dependencies

Non-Multilib

Configure and compile the package:

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

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install
Personal tools