Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37479173
en ru br
ALT Linux repositórios
5.0: 0.7.5-alt6
4.1: 0.7.5-alt6
3.0: 0.7.5-alt1

Group :: Desenvolvimento/C
RPM: cunit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: cunit
Version: 0.7.5
Release: alt6

Summary: C Unit Tester
License: LGPL
Group: Development/C
Url: http://www.gethos.net/opensource/cunit


Source0: %url/%name-%version.tar
Patch0: %name-%version-alt-makefile.patch
Patch1: %name-%version-alt-trivial.patch
Patch2: %name-%version-alt-pedantic.patch

%description
This is a Unit Test framework for 'C'.

The emphasis in this framework is to make test writing as simple as possible.
As such all the developer needs to do is write test functions, define the
suite layout and compile the code into a shared object with a name of the form
libtest_*.so.

The unit test runner finds all libtest_*.so files under the directory it is
run from, compiles a list of tests defined in the corresponding suites and
runs all the tests. The output is displayed directly to the console using
colours for added readability. It shows the progress, results and bottom line.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%configure
make

%install
%__mkdir_p $RPM_BUILD_ROOT%_includedir $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libdir
%__install -m755 bin/cunit $RPM_BUILD_ROOT%_bindir
%__install -m644 src/libcunit/unittester.h $RPM_BUILD_ROOT%_includedir
%__install -m644 build/libcunit/libcunit.a $RPM_BUILD_ROOT%_libdir
%__install -m644 build/statictester/libcunitstatic.a $RPM_BUILD_ROOT%_libdir


%files
%doc CHANGELOG INSTALL README src/trivsuite/trivsuite.c
%_bindir/*
%_includedir/*
%_libdir/*


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009