Debian Codegraph @

README

raw
1 NAME:
2 API Sanity Checker - an automatic generator of basic unit tests for a C/C++ library API.
3
4 The tool is able to generate reasonable (in most, but unfortunately not all, cases) input data for parameters and compose simple ("sanity" or "shallow"-quality) test cases for every function in the API through the analysis of declarations in header files.
5
6 The quality of generated tests allows to check absence of critical errors in simple use cases. The tool is able to build and execute generated tests and detect crashes (segfaults), all kinds of emitted signals, non-zero program return code and program hanging.
7
8 The tool is developed by Andrey Ponomarenko: http://abi-laboratory.pro/
9
10 INSTALL:
11 sudo make install prefix=/usr
12
13 REQUIRES:
14 ABI Compliance Checker 1.99 or newer: https://github.com/lvc/abi-compliance-checker
15 Perl 5
16 G++
17 GNU Binutils
18 Ctags
19
20 USAGE:
21 api-sanity-checker -lib NAME -d VERSION.xml -gen -build -run
22
23 VERSION.xml is XML-descriptor:
24
25 <version>
26 1.0
27 </version>
28
29 <headers>
30 /path/to/headers/
31 </headers>
32
33 <libs>
34 /path/to/libraries/
35 </libs>
36
37 ADV. USAGE:
38 For advanced usage, see doc/Readme.html or output of --help option.