huangliang f9f6170aef 增加usbmuxd相关库 2 år sedan
..
checkmk f9f6170aef 增加usbmuxd相关库 2 år sedan
cmake f9f6170aef 增加usbmuxd相关库 2 år sedan
contrib f9f6170aef 增加usbmuxd相关库 2 år sedan
doc f9f6170aef 增加usbmuxd相关库 2 år sedan
lib f9f6170aef 增加usbmuxd相关库 2 år sedan
m4 f9f6170aef 增加usbmuxd相关库 2 år sedan
src f9f6170aef 增加usbmuxd相关库 2 år sedan
tests f9f6170aef 增加usbmuxd相关库 2 år sedan
web f9f6170aef 增加usbmuxd相关库 2 år sedan
xml f9f6170aef 增加usbmuxd相关库 2 år sedan
.gitignore f9f6170aef 增加usbmuxd相关库 2 år sedan
AUTHORS f9f6170aef 增加usbmuxd相关库 2 år sedan
CMakeLists.txt f9f6170aef 增加usbmuxd相关库 2 år sedan
COPYING.LESSER f9f6170aef 增加usbmuxd相关库 2 år sedan
ChangeLog f9f6170aef 增加usbmuxd相关库 2 år sedan
HACKING f9f6170aef 增加usbmuxd相关库 2 år sedan
Makefile.am f9f6170aef 增加usbmuxd相关库 2 år sedan
NEWS f9f6170aef 增加usbmuxd相关库 2 år sedan
README f9f6170aef 增加usbmuxd相关库 2 år sedan
README.md f9f6170aef 增加usbmuxd相关库 2 år sedan
THANKS f9f6170aef 增加usbmuxd相关库 2 år sedan
TODO f9f6170aef 增加usbmuxd相关库 2 år sedan
appveyor.yml f9f6170aef 增加usbmuxd相关库 2 år sedan
ar-lib f9f6170aef 增加usbmuxd相关库 2 år sedan
check.m4 f9f6170aef 增加usbmuxd相关库 2 år sedan
check.pc.in f9f6170aef 增加usbmuxd相关库 2 år sedan
compile f9f6170aef 增加usbmuxd相关库 2 år sedan
config.guess f9f6170aef 增加usbmuxd相关库 2 år sedan
config.h.in f9f6170aef 增加usbmuxd相关库 2 år sedan
config.sub f9f6170aef 增加usbmuxd相关库 2 år sedan
configure.ac f9f6170aef 增加usbmuxd相关库 2 år sedan
depcomp f9f6170aef 增加usbmuxd相关库 2 år sedan
index.html f9f6170aef 增加usbmuxd相关库 2 år sedan
install-sh f9f6170aef 增加usbmuxd相关库 2 år sedan
ltmain.sh f9f6170aef 增加usbmuxd相关库 2 år sedan
missing f9f6170aef 增加usbmuxd相关库 2 år sedan
test-driver f9f6170aef 增加usbmuxd相关库 2 år sedan

README



# Check




## Table of Contents
* [About](#about)
* [Installing](#installing)
* [Linking](#linking)
* [Packaging](#packaging)

## About

Check is a unit testing 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.

See https://libcheck.github.io/check for more information, including a
tutorial. The tutorial is also available as `info check`.

## Installing

Check has the following dependencies:

* [automake](https://www.gnu.org/software/automake/)-1.9.6 (1.11.3 on OS X if you are using /usr/bin/ar)
* [autoconf](https://www.gnu.org/software/autoconf/)-2.59
* [libtool](https://www.gnu.org/software/libtool/)-1.5.22
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/)-0.20
* [texinfo](https://www.gnu.org/software/texinfo/)-4.7 (for documentation)
* tetex-bin (or any texinfo-compatible TeX installation, for documentation)
* POSIX [sed](https://en.wikipedia.org/wiki/Sed)

The versions specified may be higher than those actually needed.

### autoconf

$ autoreconf --install
$ ./configure
$ make
$ make check
$ make install
$ sudo ldconfig

in this directory to set everything up. autoreconf calls all of the
necessary tools for you, like autoconf, automake, autoheader, etc. If
you ever change something during development, run autoreconf again
(without --install), and it will perform the minimum set of actions
necessary. Check is installed to `/usr/local/lib` by default. ldconfig rebuilds
the linker cache so that newly installed library file is included in the cache.

### cmake

$ mkdir build
$ cd build
$ cmake ../
$ make
$ CTEST_OUTPUT_ON_FAILURE=1 make test

## Linking

Check uses variadic macros in check.h, and the strict C90 options for
gcc will complain about this. In gcc 4.0 and above you can turn this
off explicitly with `-Wno-variadic-macros`. In a future API it would be
nice to eliminate these macros.

## Packaging

Check is available packaged for the following operating systems:



[![Packaging status](https://repology.org/badge/vertical-allrepos/check.svg)](https://repology.org/project/check/versions)