Accepting request 239209 from home:dimstar:branches:GNOME:Factory

Update to 0.9.13

OBS-URL: https://build.opensuse.org/request/show/239209
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/check?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2014-07-02 15:48:10 +00:00 committed by Git OBS Bridge
parent 367b14bfe0
commit 0c7839cf67
5 changed files with 31 additions and 19 deletions

View File

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

3
check-0.9.13.tar.gz Normal file
View File

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

View File

@ -1,11 +0,0 @@
diff -ur check-0.9.12/tests/check_mem_leaks.c check-0.9.12.patched/tests/check_mem_leaks.c
--- check-0.9.12/tests/check_mem_leaks.c 2014-01-21 01:20:39.000000000 +0100
+++ check-0.9.12.patched/tests/check_mem_leaks.c 2014-02-02 20:23:54.201715992 +0100
@@ -10,6 +10,7 @@
#include <string.h>
#include <check.h>
#include "config.h"
+#include "check_check.h"
int main (int argc, char **argv)
{

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jul 1 17:47:51 UTC 2014 - dimstar@opensuse.org
- Update to version 0.9.13:
+ When a test assertion fails, exit() was invoked. This results
in any registered exit handlers being invoked. A test should
not be relied upon to clean up if it fails. Instead, _exit()
will be used to signal a test failure, to prevent exit handlers
from being invoked.
+ Fix issue with string formatting in ck_assert_(u)int_* calls,
where using the % operator would be interpreted as a string
formatter.
+ If the LOG/XML/TAP file name is set to "-" either through the
srunner_set_log() srunner_set_xml() or srunner_set_tap() calls
or through the related environment variables, the logged data
will be printed to stdout instead of a file. This is mainly to
support using TAP for fixtures which expect the results to be
reported via stdout. However, it is available via all of
Check's logging modalities.
+ For CMake builds, check_stdint.h was not being installed. This
is now fixed.
+ Check's example under doc/example now also works for CMake
projects using Visual Studios and MSVC. This includes an
example CMake configuration.
- Drop check-missing-includes.patch: fixed upstream.
-------------------------------------------------------------------
Sun Feb 2 19:26:20 UTC 2014 - dimstar@opensuse.org

View File

@ -17,16 +17,14 @@
Name: check
Version: 0.9.12
Version: 0.9.13
Release: 0
Summary: Unit Test Framework for C
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://check.sourceforge.net/
Source: http://downloads.sourceforge.net/project/check/check/%{version}/%{name}-%{version}.tar.gz
Source: http://downloads.sourceforge.net/project/check/check/0.9.13/%{name}-%{version}.tar.gz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM check-missing-includes.patch dimstar@opensuse.org -- Include check_check.h for the tests; fixes implicit declarations.
Patch0: check-missing-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
@ -55,7 +53,6 @@ code editors and IDEs.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags} -std=gnu99"