Mark VanderVoord
43c751173d
stdlib.h explicitly called in fixtures when malloc used, now. (Fixes issue #268 )
2017-03-20 14:09:26 -04:00
jsalling
8beb9715be
C89 comment style changes only
2016-08-23 23:10:05 -05:00
jsalling
955b221218
Add configuration option UNITY_EXCLUDE_STDLIB_MALLOC to Fixture
...
This feature removes the dependency on malloc/free for constrained
embedded systems without a heap. It uses a static heap inside
Unity Fixture. Setting UNITY_INTERNAL_HEAP_SIZE_BYTES sizes the heap.
Add tests for new option, add targets to makefile for running tests.
UNITY_FIXTURE_MALLOC for Fixture use only, remove from unity_output_Spy.c.
2016-02-01 23:54:06 -06:00
jsalling
63a0b98faf
Remove atoi() dependency, only need stdlib.h in Fixture for malloc
...
For redefinition of UNITY_FIXTURE_MALLOC/...FREE use both or replace both.
Clean up whitespace, remaining void*, and comment.
2016-01-30 22:35:59 -06:00
Andrew Burks
7737fee444
Fixes #116 : Allow overrides of the Unity Fixture's memory functions. This enables custom heap implementations to be used with the Unity Fixture.
2015-06-30 15:32:57 -07:00
Andrew Burks
31b1255663
Fixes #3 : unity_fixture tests don't build. unity.c and unity_fixture_malloc_overrides.h neglected to include <stddef.h> even though the reference 'size_t' and 'NULL'.
2015-06-30 15:24:39 -07:00
nimrodz
b389c71e71
Added stricter error checks by the compiler, and adapted all impacted code.
...
Primarily -
* Added "static" to static functions.
* Added proper signature with "void" to functions without arguments.
* Marked unused arguments with "(void)".
* Removed entirely unused static functions.
* Added "const" to preserve const-correctness.
* Added function prototypes for external functions.
2015-01-18 00:39:05 +02:00
mvandervoord
5a6b8c405b
- added a tweaked version of James Grenning's unity_fixture to extras
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@106 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-29 22:53:57 +00:00