Summary: Automatic generator of unit tests for C/C++ libraries Name: api-sanity-checker Version: 1.12.9 Release: 5 Group: Development/Other License: GPLv1+ or LGPLv2+ URL: http://ispras.linuxbase.org/index.php/API_Sanity_Checker Source0: http://forge.ispras.ru/attachments/download/1278/api-sanity-checker-%{version}.tar.gz Requires: gcc-c++ Requires: binutils BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description API Sanity Checker (ASC) is an automatic generator of basic unit tests for shared C/C++ libraries. It 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. 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), aborts, all kinds of emitted signals, non-zero program return code and program hanging. It may be considered as a tool for out-of-the-box low-cost sanity checking (fuzzing) of the library API or as a test development framework for initial generation of templates for advanced tests. Also it supports universal T2C format of tests, random test generation mode, specialized data types and other useful features. %prep %setup -q chmod 0644 LICENSE.txt %build # Nothing to build. %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_prefix} perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt doc/* %{_bindir}/%{name} %changelog * Tue May 22 2012 Andrey Ponomarenko 1.12.9-4 + Revision: 799983 - Removed man * Wed Feb 08 2012 Andrey Ponomarenko 1.12.9-3 + Revision: 771859 - Added man pages. Corrected dependencies. * Wed Dec 14 2011 Andrey Ponomarenko 1.12.9-2 + Revision: 740924 - Bumped release version. - Initial Mandriva package - Created package structure for api-sanity-checker.