• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..21-May-2016-

build-aux/H21-May-2016-22,58018,920

doc/H03-May-2022-4,4453,747

lib/H21-May-2016-1,3691,071

m4/H21-May-2016-8,5067,635

src/H21-May-2016-5,1663,731

tests/H03-May-2022-6,2805,009

AUTHORSH A D21-May-20161.2 KiB2824

COPYING.LESSERH A D21-May-201625.9 KiB511422

ChangeLogH A D21-May-201633.2 KiB1,103728

ChangeLogOldH A D21-May-20163.6 KiB12180

INSTALLH A D21-May-201611.1 KiB292219

MakefileH A D21-May-201627.3 KiB831733

Makefile.amH A D21-May-20164.4 KiB11885

Makefile.inH A D21-May-201627 KiB831735

NEWSH A D21-May-201610.4 KiB317205

READMEH A D21-May-20162.7 KiB7555

SVNChangeLogH A D21-May-2016171.7 KiB5,0754,019

THANKSH A D21-May-2016363 118

TODOH A D21-May-20166.6 KiB152129

aclocal.m4H A D21-May-201633.3 KiB923830

check.m4H A D21-May-20164.3 KiB133110

check.pcH A D21-May-2016248 1210

check.pc.inH A D21-May-2016239 1210

config.hH A D21-May-20166.1 KiB22264

config.h.inH A D21-May-20165.7 KiB221157

config.statusH A D21-May-201659.7 KiB2,1091,671

configureH A D21-May-2016536.9 KiB19,35415,540

configure.acH A D21-May-20165.4 KiB203167

libtoolH A D21-May-2016252 KiB8,9006,656

stamp-h1H A D21-May-201623 21

README

1About Check
2-----------
3
4Check is a unit testing framework for C. It features a simple interface
5for defining unit tests, putting little in the way of the
6developer. Tests are run in a separate address space, so Check can
7catch both assertion failures and code errors that cause segmentation
8faults or other signals. The output from unit tests can be used within
9source code editors and IDEs.
10
11See http://check.sourceforge.net/ for more information, including a
12tutorial.  The tutorial is also available as `info check'.
13
14Installation
15------------
16
17Check has the following dependencies:
18
19  automake-1.9.6
20  autoconf-2.59
21  libtool-1.5.22
22  pkg-config-0.20
23  texinfo-4.7 (for documentation)
24  tetex-bin (or any texinfo-compatible TeX installation, for documentation)
25  POSIX sed
26
27The versions specified may be higher than those actually needed.
28
29First, do
30
31$ autoreconf --install
32
33in this directory to set everything up.  autoreconf calls all of the
34necessary tools for you, like autoconf, automake, autoheader, etc.  If
35you ever change something during development, run autoreconf again
36(without --install), and it will perform the minimum set of actions
37necessary.
38
39Then, read the directions in INSTALL if you need more information.
40
41Linking against Check
42---------------------
43
44Check uses variadic macros in check.h, and the strict C90 options for
45gcc will complain about this.  In gcc 4.0 and above you can turn this
46off explicitly with -Wno-variadic-macros.  In a future API it would be
47nice to eliminate these macros.
48
49Debian rationale for not having upstream build packages (.deb files)
50--------------------------------------------------------------------
51
52For debian, it is highly undesirable if the upstream source contains a
53debian directory as this one will never be the same as the "official"
54Debian one, and patching is easier if it's not around.
55
56Sometimes upstream insists on having the possibility to build Debian
57packages themselves, in which case it is best to have a debian
58directory in the CVS, but not ship it when doing "make dist".
59
60Sometimes upstream insists on shipping the debian directory to their
61users so these can easily build a .deb, which is really bad because
62they usually don't remmeber to change the Debian changelog and version
63accordingly, and generally don't know enough about Debian policy to
64make conforming packages.
65
66So in the end you will have different broken packages compiled on
67various systems floating around which all have the same version number
68and look like offical packages.
69
70  -- Robert Lemmen, 2006
71
72The same holds for .rpm packages.  The Check maintainer for Fedora
73Extras, Tom 'spot' Callaway, confirmed that they do not depend on an
74upstream rpm target in Check.
75