A modern, portable, cross-language unit testing and mocking framework for C and C++
capture_parameter
on bigendian machines discovered on s390x.deb
package for local usecute_reporter
This release contains
libxml2
as an alternate XML reporter if availableexpect()
libbfd
introduced in 1.5.0 due to portability issues and Debian deeming it to be a serious bug due to libbfd
not having a stable interface (see #302)This release fixes a problem with the constraint ends_with_string()
which randomly failed.
nm
command with calls to libbfd
. This adds a compile time dependency on binutils
, see README.cgreen-runner
should return non-zero return code if library with tests was not foundAdded preprocessor definitions for
CGREEN_VERSION
CGREEN_VERSION_MAJOR
CGREEN_VERSION_MINOR
CGREEN_VERSION_PATCH
Updated documentation for will_return_by_value()
.
A memory leak in will_return_by_value()
has been fixed.
The memory required for the struct
value that should be returned was not deallocated properly. The fix might result in memory leaks in user code as the memory could previously be accessed by user code. Now responsibility for deallocation is on the user.
Now builds on Msys2 native (but not Msys/Mingw32 or 64).
xml_reporter
output is now quoted as required to allways produce correct XML.
Various fixes to bash command completion which is now also installed
Both cgreen-runner
and cgreen-debug
should now complete libraries and tests correctly.
The 1.3.0 release includes the following
cgreen-mocker
and cgreen-debug
Some new features:
return_by_value()
with_side_effect()
Fixed a few bugs: