- 31 8月, 2016 1 次提交
-
-
由 jsalling 提交于
Remove stdint.h from the C89 build due to -pedantic warnings from type 'long long' and constants like UINTPTR_MAX = 18446744073709551615ULL
-
- 24 8月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 22 8月, 2016 3 次提交
- 09 8月, 2016 1 次提交
-
- 29 7月, 2016 1 次提交
-
-
由 Bryon Gloden, CISSP® 提交于
I believe if realloc() returns a pointer to a different location, the old location is freed. However, the pointer 'n1' is not freed if realloc fails to obtain a large enough block of memory and returns NULL. (more details on [StackOverflow](http://stackoverflow.com/a/16676964)).
-
- 27 7月, 2016 4 次提交
-
-
由 Bryon Gloden, CISSP® 提交于
Sorry @mvandervoord -- not your code, your repository
😁 Regarding the double free, cppcheck has a check for that too (just saying)👍 -
由 Bryon Gloden, CISSP® 提交于
Free guard if UNITY_EXCLUDE_STDLIB_MALLOC is not defined.
👍 Thanks @ for the hint. -
由 Bryon Gloden, CISSP® 提交于
[../Unity-master/extras/fixture/test/unity_fixture_Test.c:530]: (error) Deallocating a deallocated pointer: n1 This solution from Daniel Fischer was helpful in fixing the error because if realloc returns a pointer to a different location, the old location is freed. Found by https://github.com/bryongloden/cppcheck
-
由 Bryon Gloden, CISSP® 提交于
[../Unity-master/extras/fixture/src/unity_fixture.c:210]: (error) Memory leak: guard Found by https://github.com/bryongloden/cppcheck
-
- 06 5月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 01 3月, 2016 2 次提交
- 27 2月, 2016 1 次提交
-
-
由 jsalling 提交于
Add extern UnityFixture in internals header. Add C89 target in Makefile clang will show these warnings but can suppress "//" with -Wno-comment.
-
- 26 2月, 2016 2 次提交
-
-
由 jsalling 提交于
By removing the call to the Conclude function the code is simplified and doesn't depend on global state updates. Tests that are ignored after the testBody is called still output the right EOL.
-
由 jsalling 提交于
This fixes #168. See that github.com issue for more discussion. Allows the tests to build when putchar() is defined as a macro with parenthesis around it, as in the ARM embedded gcc compiler.
-
- 25 2月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 24 2月, 2016 1 次提交
-
-
由 jsalling 提交于
Using gcc 4.8 on Ubuntu 14
-
- 18 2月, 2016 2 次提交
- 10 2月, 2016 4 次提交
-
-
由 jsalling 提交于
Comment out -Wconversion for now, since the build would fail
-
由 jsalling 提交于
These wrapper functions should be in Unity core if warranted. Use the Unity struct directly for access, or consider macro functions
-
由 jsalling 提交于
The old failure would print the line in unity_fixture.c, not very useful. Now using CurrentTestLineNumber, which is better.
-
由 jsalling 提交于
-
- 09 2月, 2016 2 次提交
- 06 2月, 2016 2 次提交
- 02 2月, 2016 1 次提交
-
-
由 jsalling 提交于
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.
-
- 01 2月, 2016 2 次提交
- 31 1月, 2016 1 次提交
-
-
由 jsalling 提交于
For redefinition of UNITY_FIXTURE_MALLOC/...FREE use both or replace both. Clean up whitespace, remaining void*, and comment.
-
- 20 1月, 2016 2 次提交
- 16 1月, 2016 1 次提交
-
-
由 jsalling 提交于
Delete unused variables and empty functions Make setUp & tearDown (used in Unity core) optionally defined if 'weak' linking is present
-
- 07 1月, 2016 1 次提交
-
-
由 jsalling 提交于
Now that the project is using .gitattributes, get rid of CRLF in the repo.
-
- 23 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Add CFLAGS in Fixture Makefile to catch C99 rules with '-pedantic'
-
- 22 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Ignore tests that need the Spy if we are not building with it
-
- 19 12月, 2015 1 次提交
-
-
由 jsalling 提交于
No rake and ruby required to build existing tests
-