From 321baedb8c77bbcb34d717fc72f02b509310344cd26f5741582f5a33e5de7932 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 8 Dec 2009 08:59:56 +0000 Subject: [PATCH] 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 --- check-0.9.6.tar.bz2 | 3 -- check-0.9.8.tar.bz2 | 3 ++ check.changes | 19 ++++++++++ check.spec | 85 ++++++++------------------------------------- 4 files changed, 36 insertions(+), 74 deletions(-) delete mode 100644 check-0.9.6.tar.bz2 create mode 100644 check-0.9.8.tar.bz2 diff --git a/check-0.9.6.tar.bz2 b/check-0.9.6.tar.bz2 deleted file mode 100644 index 23b622c..0000000 --- a/check-0.9.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:caadcc1fef6fcccc06de01a5fff227734562f53fa09541c473d11096cd01a5a4 -size 436690 diff --git a/check-0.9.8.tar.bz2 b/check-0.9.8.tar.bz2 new file mode 100644 index 0000000..508c004 --- /dev/null +++ b/check-0.9.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4a1d98a44f5142cc346a929ce9d907dcb9d763d783723de9e156fc667a4cef6 +size 432852 diff --git a/check.changes b/check.changes index 79e549a..9e85786 100644 --- a/check.changes +++ b/check.changes @@ -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 diff --git a/check.spec b/check.spec index 3618884..3f44775 100644 --- a/check.spec +++ b/check.spec @@ -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 - Fredrik Hugosson - Sven Neumann - %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 - Fredrik Hugosson - Sven Neumann - %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.