Russ Allbery > Eagle's Path > May 2022 | rra-c-util 10.2 > |
C TAP Harness is my C implementation of the Perl "Test Anything Protocol" test suite framework. It includes test runner and libraries for both C and shell.
This is mostly a cleanup release to resync with other utility libraries. It does fix an installation problem by managing symlinks correctly, and adds support for GCC 11's new deallocation warnings.
The latter is a rather interesting new GCC feature. There is a
Red Hat blog post about the implementation with more details, but the
short version is that the __malloc__
attribute can now take an
argument that specifies the function that should be used to deallocate the
allocated object. GCC 11 and later can use that information to catch some
deallocation bugs, such as deallocating things with the wrong function.
You can get the latest version from the C TAP Harness distribution page.
Posted: 2022-05-08 21:26 — Why no comments?
Russ Allbery > Eagle's Path > May 2022 | rra-c-util 10.2 > |