Difference between revisions of "Check"
From CBLFS
Jump to navigationJump to search (→Introduction to Check) |
|||
Line 9: | Line 9: | ||
== Introduction to Check == | == 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. | ||
== Dependencies == | == Dependencies == |
Revision as of 11:57, 1 January 2007
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.
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