Difference between revisions of "Check"

From CBLFS
Jump to navigationJump to search
 
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
----
 
----
  
== Introduction to Check ==
+
{{Package-Introduction|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.|http://check.sourceforge.net/}}
 
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 59: Line 58:
  
 
  make install
 
  make install
 +
 +
[[Category:Programming]]

Latest revision as of 15:40, 19 March 2009

Download Source: http://downloads.sourceforge.net/check/check-0.9.8.tar.gz

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
Retrieved from "?title=Check&oldid=17600"