1 Summary: Simple unit testing framework for handling automated tests in C
2 Summary(pl.UTF-8): Szkielet automatycznych testów jednostkowych dla języka C
7 Group: Development/Libraries
8 Source0: http://cu.danfis.cz/files/%{name}-%{version}.tar.gz
9 # Source0-md5: bd5f70ea6f06e2a050c7e5e280043927
10 URL: http://cu.danfis.cz/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 CU is simple unit testing framework for handling automated tests in C.
15 CU provides a simple interface for defining unit tests using macros.
16 Each test suite runs in separate process - test suites don't influence
17 each other and any failure (such as segfault) does not break up whole
18 test. CU also provides script for regression tests based on output of
21 %description -l pl.UTF-8
22 CU to prosty szkielet testów jednostkowych do obsługi
23 zautomatyzowanego testowania w języku C. Zapewnia prosty interfejs do
24 definiowania testów jednostkowych przy użyciu makr. Każdy zestaw
25 testów działa w osobnym procesie - zbiory testów nie przeszkadzają
26 sobie nawzajem i jedna awaria (taka jak segfault) nie psuje całości
27 testów. CU dostarcza także skrypt do testów regresji w oparciu o
28 wyjście zestawów testów.
36 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -pedantic"
39 rm -rf $RPM_BUILD_ROOT
42 PREFIX=$RPM_BUILD_ROOT \
44 INCLUDEDIR=%{_includedir} \
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc BSD-LICENSE CHANGELOG
53 %attr(755,root,root) %{_bindir}/cu-check-regressions