A unit testing framework for C
This release addresses the fail* macro regression from 0.15.1.
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
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
This release adds support for CMake's FetchContent.
Changes:
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:
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
This release of Check adds several new macros for comparing different types of data, as well as bug fixes and other improvements.
Changes:
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: