check/check-missing-includes.patch
Dominique Leuenberger 367b14bfe0 Accepting request 220627 from GNOME:Next
- Update to version 0.9.12:
  + Additional unit tests created for internal and external Check
    APIs.
  + Check now compiled on Windows using MSVC when using CMake and
    NMake. All unit tests pass, though shell script based ones need
    to be run in the MSYS environment.
  + Check now compiles on Windows using Visual Studio 10 when using
    CMake. check_check passes when run from Visual Studios.
  + Always capture the start and end times of tests when using
    NO_FORK mode. Previously the end time was not captured,
    resulting in arbitrary durations being recorded when tests
    failed. Bug#87.
  + Added additional configure script checks for support of
    timer_create() on the target system. This allows for OpenBSD to
    compile and run all Check's unit tests successfully. 
  + Added a unit test, check_mem_leaks, which can be used against
    valgrind to test for memory leaks. No memory leaks were found.
  + Added tcase_add_loop_test support in checkm.
  + Add support for logging in Test Anything Protocol (TAP) format.
  + Refactor Check's assertions to be more like the assert() call
    in assert.h, in that static source code analyzers can use gcc
    attributes in the header to make assumptions about the flow of
    the code. See feature request #29.
  + Fix ck_assert_ptr_* causing const compilation warnings.
- Add check-missing-includes.patch: Add missing include in order
  to fix the build.

OBS-URL: https://build.opensuse.org/request/show/220627
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/check?expand=0&rev=25
2014-02-02 19:46:20 +00:00

12 lines
398 B
Diff

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)
{