Unit Test Framework for C
Check is a unit test framework for C. It features a simple interfacefor
defining unit tests, limitating the developer the less possible. Tests
are run in a separate address space, so Check cancatch both, assertion
failures and code errors that cause segmentationfaults or other
signals. The output of unit tests can be used within source code
editors and IDEs.
- Sources inherited from project SUSE:SLE-12-SP2:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12-SP3:Update/check && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
baselibs.conf | 0000000097 97 Bytes | |
check-0.10.0.tar.gz | 0000769119 751 KB | |
check.changes | 0000013203 12.9 KB | |
check.spec | 0000003533 3.45 KB |
Revision 2 (latest revision is 3)
Frederic Crozat (fcrozat)
committed
(revision 2)
- Update to version 0.10.0: + 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. - Implement shared library naming guidelines: move the library to libcheck0. The new package obsoletes 'check', as there is no other content. - Do not pass --enable-pic to configure: only static libs profit from this. - Add fdupes BuildRequires to eliminate the couple duplicates. - Move %install_info_delete from postun to preun: access to the .info files is required for successful execution. - Update to version 0.9.14:
Comments 0