Accepting request 25797 from GNOME:Factory

Copy from GNOME:Factory/check based on submit request 25797 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/25797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/check?expand=0&rev=8
This commit is contained in:
OBS User autobuild 2009-12-08 08:59:56 +00:00 committed by Git OBS Bridge
parent 8df0e91f43
commit 321baedb8c
4 changed files with 36 additions and 74 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caadcc1fef6fcccc06de01a5fff227734562f53fa09541c473d11096cd01a5a4
size 436690

3
check-0.9.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4a1d98a44f5142cc346a929ce9d907dcb9d763d783723de9e156fc667a4cef6
size 432852

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Nov 27 14:21:08 CET 2009 - dimstar@opensuse.org
- Update to version 0.9.8:
+ Added CK_SUBUNIT support for outputting test information in
the subunit wire protocol.
+ Added code and tests for timeout scaling via environment
variable
+ Added documentation for testing exit values with
tcase_add_exit_test()
+ Add make_macros perl script from somebody
+ add type to check_type error message
+ add contrib dir with xslt transform
+ function exist testing support
+ introduce HAVE_WORKING_SETENV to protect tc_timeout_env usage
+ support running tests with multiple pthreads
+ partial MSYS/MinGW support.
- spec file cleaned using spec-cleaner.
-------------------------------------------------------------------
Sat Apr 18 03:45:33 CEST 2009 - crrodriguez@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package check (Version 0.9.6)
# spec file for package check (Version 0.9.8)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,16 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: check
Version: 0.9.6
Release: 2
Version: 0.9.8
Release: 1
License: LGPLv2.1+
Summary: Unit Test Framework for C
Url: http://check.sourceforge.net/
Group: Development/Libraries/C and C++
License: LGPL v2.1 or later
Summary: Unit Test Framework for C
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -36,19 +35,12 @@ failures and code errors that cause segmentationfaults or other
signals. The output of unit tests can be used within source code
editors and IDEs.
Authors:
--------
Arien Malec <arien_malec@yahoo.com>
Fredrik Hugosson <hugo303@users.sourceforge.net>
Sven Neumann <sven@convergence.de>
%package devel
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
License: LGPLv2.1+
Summary: Unit Test Framework for C
Requires: %{name} = %{version} glibc-devel
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: glibc-devel
%description devel
Check is a unit test framework for C. It features a simple interface
@ -58,31 +50,23 @@ assertion failures and code errors that cause segmentation faults or
other signals. The output from unit tests can be used within source
code editors and IDEs.
Authors:
--------
Arien Malec <arien_malec@yahoo.com>
Fredrik Hugosson <hugo303@users.sourceforge.net>
Sven Neumann <sven@convergence.de>
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS -std=gnu99"
export CXXFLAGS="$RPM_OPT_FLAGS -std=gnu99"
export FFLAGS="$RPM_OPT_FLAGS -std=gnu99"
export CFLAGS="%{optflags} -std=gnu99"
export CXXFLAGS="%{optflags} -std=gnu99"
export FFLAGS="%{optflags} -std=gnu99"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
%install
%makeinstall docdir=%{_docdir}/%{name}
%{__cp} -a AUTHORS COPYING.LESSER THANKS TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
%{__cp} -a AUTHORS COPYING.LESSER THANKS TODO %{buildroot}%{_docdir}/%{name}
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
@ -110,44 +94,3 @@ export FFLAGS="$RPM_OPT_FLAGS -std=gnu99"
%doc %{_docdir}/%{name}/example
%changelog
* Sat Apr 18 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Thu Jan 01 2009 msuman@suse.de
- Updated to version 0.9.6:
* add call to AC_REPLACE_FUNCS([strsignal])
* add CK_FORK_GETENV to enum fork_status and delete CK_FORK_UNSPECIFIED
* add CK_CTX_INVALID to ck_result_ctx and don't use -1 anymore
* rename signal to _signal in _tcase_add_test to avoid a
symbol clash with /usr/include/sys/signal.h on OS X.
* define rpl_malloc and rpl_realloc for platforms where
!malloc(0) and !realloc(0,0), such as AIX, because configure
goes and redefines malloc/realloc in this case...
* Added new Check fail API. Implemented on top of fail_unless. Future
versions will reverse this so fail_unless is implemented on top of the
ck_assert API. This API is not documented yet, will probably not be fully
released until 0.9.8, when it will be possible to choose API.
* More fixes and changes.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Tue Mar 27 2007 sbrabec@suse.cz
- Updated to version 0.9.5:
* Fixed code coverage support.
* Updated manual and converted from DocBook to Texinfo.
* Added pkg-config support.
* Added Libtool support to build both static and shared
libraries.
* Updated GNU Build System to use modern Autotools.
* Added a new kind of test, looping tests.
* Added possibility to turn off timeout tests.
* Added coverage analysis for check's own unit tests.
* More fixes and changes.
* Fri Feb 24 2006 sbrabec@suse.cz
- Fixed format string error (David Binderman, #143293).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 sbrabec@suse.cz
- Updated to version 0.9.3.
- Build with -fPIC.
* Mon May 30 2005 sbrabec@suse.cz
- New SuSE package, version 0.9.2.