[api-sanity-checker] Initial import (#773011).
Richard Shaw
hobbes1069 at fedoraproject.org
Mon Mar 19 17:36:59 UTC 2012
commit 2158ab6a5b197c74d3ee055238ec84436b9546b9
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date: Mon Mar 19 12:36:57 2012 -0500
Initial import (#773011).
.gitignore | 1 +
api-sanity-checker.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45f5c6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/api-sanity-checker-1.12.9.tar.gz
diff --git a/api-sanity-checker.spec b/api-sanity-checker.spec
new file mode 100644
index 0000000..e0b0682
--- /dev/null
+++ b/api-sanity-checker.spec
@@ -0,0 +1,67 @@
+Name: api-sanity-checker
+Version: 1.12.9
+Release: 3%{?dist}
+Summary: An automatic generator of basic unit tests for a shared C/C++ library
+
+License: GPLv2
+URL: http://forge.ispras.ru/projects/api-sanity-autotest
+Source0: http://forge.ispras.ru/attachments/download/1278/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: help2man
+Requires: binutils
+
+%{?perl_default_filter}
+
+%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 format of
+tests, random test generation mode, specialized data types and other useful
+features.
+
+
+%prep
+%setup -q
+chmod -x LICENSE.txt
+
+
+%build
+# Nothing to build.
+
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+perl ./Makefile.pl -install --destdir=%{buildroot} --prefix=%{_prefix}
+
+# Create a man page.
+mkdir -p %{buildroot}%{_mandir}/man1
+help2man -h --info -o %{buildroot}%{_mandir}/man1/api-sanity-checker.1 \
+ -N %{buildroot}%{_bindir}/api-sanity-checker
+sed -i 's|API(1)|API-SANITY-CHECKER(1)|g' %{buildroot}%{_mandir}/man1/api-sanity-checker.1
+sed -i '3,5d' %{buildroot}%{_mandir}/man1/api-sanity-checker.1
+
+
+%files
+%doc LICENSE.txt doc/*
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.gz
+
+
+%changelog
+* Mon Mar 19 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.12.9-3
+- Fix man page generation and license in spec file.
+
+* Tue Mar 13 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.12.9-2
+- Minor spec fixes and crate man page.
+
+* Tue Jan 10 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.12.9-1
+- Initial release.
diff --git a/sources b/sources
index e69de29..067b0c8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d94b6cc755662baadb04510974ac3ff5 api-sanity-checker-1.12.9.tar.gz
More information about the scm-commits
mailing list