Skip to content

Releases: libcheck/check

Check 0.15.2

09 Aug 06:16
11970a7
Compare
Choose a tag to compare

This release addresses the fail* macro regression from 0.15.1.

  • Fix fail* APIs, regression from 0.15.1
    Issue #298

Check 0.15.1

22 Jul 14:23
9843d48
Compare
Choose a tag to compare

This release addresses a few bugs related to warnings from Check's macros.

  • Fix warning in ptr macros with pointer to integer cast
    Issue #284

  • Fix various warnings in Check's unit tests
    Issue #283

  • Replace gnu_printf with printf in format __attribute__
    Issue #282

  • Fix warnings from Check's macros: "warning: too many arguments for format"
    Issue #274

  • Fix format specifiers that do not match the argument types
    Issue #271

Downloads

Check 0.15.0

21 Jun 20:40
aa8657b
Compare
Choose a tag to compare

This release adds mutual exclusion support for Windows.

  • Define CK_ATTRIBUTE_FORMAT for GCC >= 2.95.3, to make use of ‘gnu_printf’ format attribute
    Issue #249

  • Refactor tests to fix signed - unsigned conversions
    Issue #249

  • Refactor some Check internals to use proper interger types
    Issue #250

  • Implement missing mutual exclusion for Windows hosts
    Issue #257

Downloads

Check 0.14.0

26 Jan 17:58
d86594e
Compare
Choose a tag to compare

This release adds support for CMake's FetchContent.

Changes:

  • Add support for FetchContent in CMake
    Issue #238
  • Rename CMake project from 'check' to 'Check'
    Issue #232
  • Fix for checking for wrong tool when building docs in Autotools
    Issue #231
  • Fix compiler warning with printf format
    Issue #233

Downloads

Check 0.13.0

22 Oct 05:02
90d03f3
Compare
Choose a tag to compare

This release improved CMake support with a few other minor improvements.

Changes:

  • configure: optional build documentation
    Issue #206 (GitHub)

  • missing <unistd.h> in some files
    Issue #196 and Issue #186 (GitHub)

  • Various documentation improvements

  • END_TEST is now optional, as how START_TEST works has been redone
    Issue #158

  • Various CMake related changes:

    • Support exporting Check to other projects with CMake 3
      Issue #185
    • Shared library support for Visual Studio
      Issue #220
    • Fix wrong library filename
      Issue #226
    • Add support for CMake package registry
      Issue #227
    • CMake build type can now be debug or release
      Issue #228
    • Add checkmk to CMake build.

Downloads

Check 0.12.0

20 Oct 12:45
Compare
Choose a tag to compare

This release of Check adds or improves support for a few Windows compilers as well as adding a new API for configuring the maximum error message size.

Changes:

  • Fix out-of-tree builds with CMake.
    Issue #86

  • Fix issue found with Clang regarding invalid suffix on a literal
    Issue #110

  • Check now responds to a few errors in a more clear way when it cannot run tests.
    PR #122, #123

  • Fix missing pid_t definition in check.h on Windows
    Issue #78

  • The maximum message size of check assertions is now configurable.
    Issue #127

  • Check support added for Visual Studios 2010, 2012, 2013, 2015, and 2017 both for x86/64 and ARM.
    PR #129, Issue #125

  • Changed license of example CMake files to BSD (was previously LGPL).
    Issue #131

  • Fix issue with floating point macros on MinGW
    Issue #101

Downloads

Check 0.11.0

17 Dec 23:42
Compare
Choose a tag to compare

This release of Check adds several new macros for comparing different types of data, as well as bug fixes and other improvements.

Changes:

  • Avoid issue in unit test output checking where a shell's built-in printf
    command does not work properly, but the printf program itself is correct.
  • Emit only valid XML characters in XML logging (assumes ASCII encoding).
    Bug #103
  • Add LGPL header to files where it was missing; update FSF address in LGPL headers
    Bug #110
  • Strip timestamps from examples using filterdiff if available. This
    allow build output to be reproducible.
    Bug #112
  • Use double slash for regular expressions in checkmk for better Solaris support.
  • Improve CMake build files for better Visual Studio 2015 support.
    Pull Request #19
  • Fix potential SIGSEGV in Check related to the disk filling up during a test.
    Pull Request #21
  • Support added for applying tags to test cases and selectively running
    test cases based on tags.
    Pull Request #44
  • Macros for comparing memory regions (ck_assert_mem_eq, ck_assert_mem_ne)
    have been added.
    Pull Request #64
  • Macros for comparing floating point numbers have been added.
    Pull Request #69
  • Macros for comparing string, but allowing for NULL (ck_assert_pstr_eq,
    ck_assert_pstr_ne) have been added.
    Pull Request #80
  • Macros for checking if a pointer is NULL or not have been added.
    Pull Request #87

Downloads

Check version 0.10.0

24 Dec 03:10
Compare
Choose a tag to compare

In addition to a few bug fixes and improvements, the handing of Check when compiled without fork() has changed slightly. Several API calls in the past would intentionally result in errors when they required fork() to make sense. However this has been changed to instead ignore the call. This should help improve unit test interoperability between *nix and Windows.

Changes:

  • CMake on MinGW and MSVC was unable to find time related types because
    time.h was not included. This header is now included for the checks.
  • If the test runner process catches a SIGTERM or SIGINT signal the running
    tests are now also killed.
  • If Check is compiled without support for fork(), the behavior of
    functions which require fork() to be useful have been changed.
    Functions that attempt to set CK_FORK mode are no-ops,
    check_fork() returns in failure, and check_waitpid_and_exit()
    exits in failure.
  • Add space around operators in assert messages for readability.
  • Use mkstemp() if available instead of tmpfile() or tempnam().
  • Fix issue with string formatting in ck_assert(), where using
    the % operator would be interpreted as a string formatter
  • In nofork mode, the location of a failed assertion within a test
    case was lost if that test case has a checked teardown fixture
    (even if that fixture function is empty). This is now fixed.

Downloads