Skip to content

Releases: cgreen-devs/cgreen

1.6.3

26 Sep 17:26
Compare
Choose a tag to compare
  • Fix a problem with capture_parameter on bigendian machines discovered on s390x
  • Add s390x to the Travis build matrix
  • For unexpected calls to mocks, point to the test rather than the mocked function
  • Add instructions on how to make a "quick and dirty" .deb package for local use

1.6.2

27 Feb 09:34
Compare
Choose a tag to compare
  • Fixed a bug in cute_reporter
  • Improve zsh compatibility for completions (manual activation required)

1.6.1

01 Jan 15:49
Compare
Choose a tag to compare

This release contains

  • Add option to use libxml2 as an alternate XML reporter if available
  • Execute side effect constraints last of all constraints in an expect()
  • Updated links to documentation in README
  • Documentation updates

1.6.0

04 Jul 12:34
Compare
Choose a tag to compare
  • Revert use of 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)

1.5.1

22 Mar 18:46
Compare
Choose a tag to compare

This release fixes a problem with the constraint ends_with_string() which randomly failed.

1.5.0

08 Mar 14:51
Compare
Choose a tag to compare
  • Replace piping nm command with calls to libbfd. This adds a compile time dependency on binutils, see README.
  • #285 - cgreen-runner should return non-zero return code if library with tests was not found
  • #287 - Add new constraint to capture an argument to a mock function in a local variable in the test

1.4.1

01 Nov 07:59
Compare
Choose a tag to compare

Added preprocessor definitions for

  • CGREEN_VERSION
  • CGREEN_VERSION_MAJOR
  • CGREEN_VERSION_MINOR
  • CGREEN_VERSION_PATCH

Updated documentation for will_return_by_value().

1.4.0

16 May 05:21
Compare
Choose a tag to compare

Release Notes for Cgreen 1.4.0

  • 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.

1.3.0

03 Jun 05:56
Compare
Choose a tag to compare

The 1.3.0 release includes the following

  • improvements to the cgreen-mocker and cgreen-debug
  • add a logo
  • use gopt v10.0
  • rename CgreenValueType enums to reduce risk of clashing with client code
  • some fixes for test failing on more exotic machines

1.2.0

08 Aug 19:53
Compare
Choose a tag to compare

Some new features:

  • return_by_value()
  • with_side_effect()

Fixed a few bugs:

  • #198 - gitrevision.h is not generated if not in a git repo
  • #195 - xml reporter reports failure multiple times
  • #193 - xml reporter broken if test failed with segmentation fault
  • #191 - make without cmake installed will fail, even if cmake is installed afterwards
  • #190 - assert_that(2) results into a failure
  • #173 - never_expect counts as a pass when a mock is never called