Commit Graph

  • 22b05ad537 Fixes #118: unity_output_Spy should use the platform-agnostic macros for memory. Andrew Burks 2015-07-01 11:17:09 -07:00
  • 254ba80543 Merge pull request #117 from aburks/master Mark VanderVoord 2015-06-30 22:48:42 -04:00
  • 7737fee444 Fixes #116: Allow overrides of the Unity Fixture's memory functions. This enables custom heap implementations to be used with the Unity Fixture. Andrew Burks 2015-06-30 15:32:57 -07:00
  • 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'. Andrew Burks 2015-06-30 15:24:39 -07:00
  • e40530d59f Merge pull request #112 from ThrowTheSwitch/bugfix/ptr_cast Mark VanderVoord 2015-06-20 09:55:40 -04:00
  • 9b4c5b76d9 Fixed missed prototype Mark VanderVoord 2015-06-19 21:18:34 -04:00
  • bc9e12ea1a - Trying a very verbose method of incrementing the pointers - casting to a (void*) was giving warnings to some compilers about double casting - casting from a u8 to u16/32/64 was giving warnings about changing alignment requirements Mark VanderVoord 2015-06-19 15:16:10 -04:00
  • 08ffed33d4 Merge pull request #108 from eivindt/test-equal-string-len Mark VanderVoord 2015-06-19 13:38:10 -04:00
  • c3d95e7b0d Merge pull request #109 from laborer2008/master Mark VanderVoord 2015-06-19 13:29:25 -04:00
  • 7272480c1b Allow summarizer to search through subdirectories for results files Mark VanderVoord 2015-06-19 11:48:48 -04:00
  • 77af37add0 - catch optional fixtures plugin up to mainline unity (somewhat. like fixing line endings) ThingamaByte, LLC 2015-06-18 17:16:01 -04:00
  • 06c95fcb08 - Fixed broken examples ThingamaByte, LLC 2015-06-18 10:38:20 -04:00
  • 59aed00679 Reverting of redundant casting from 89b003ed0bb0ef1d80c072907dff24c7a1a4f004 Double castings look ugly. And if Unity is compiled with -Wcast-qual flag these type castings produce a lot of warnings: unity/src/unity.c:490:80: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] UnityPrintNumberByStyle(*(UNITY_PTR_ATTRIBUTE const _US16*)(void*)ptr_exp, style); ^ Sergey Gusarov 2015-05-23 02:21:38 +03:00
  • 15b367f8d1 Fixed stupid typo Eivind Tagseth 2015-04-23 21:02:05 +02:00
  • 61c0b0b75c Added support for TEST_ASSERT_EQUAL_STRING_LEN* Eivind Tagseth 2015-04-23 15:39:19 +02:00
  • b922d622a6 Added break out of system vs local includes for enhanced include-based dependency extraction to aid new cmock Make task/build generation. Bumber build and version info since new external capability added for querying includes. Greg Williams 2015-04-06 10:43:28 -04:00
  • 271f299df5 catch-all-else Eivind Tagseth 2015-03-23 13:20:33 +01:00
  • 5053f2ca90 Fixed issue with requiring the new type_sanitizer module in different ways Greg Williams 2015-03-12 12:25:43 -04:00
  • 89b003ed0b Removed platform-specific warnings unsupported by GCC Greg Williams 2015-03-12 10:41:54 -04:00
  • 7fb81c8e95 Merge branch 'master' of github.com:ThrowTheSwitch/Unity Greg Williams 2015-03-12 10:33:33 -04:00
  • a24bd45511 Added type_sanitizer.rb to consolidate converting a string to a valid C identifier, which will allow CMock and Ceedling to use the same construct which is currently duplicated in each repo. Greg Williams 2015-03-12 10:33:23 -04:00
  • 891775de38 Merge pull request #102 from XelaRellum/unity_test_summary_python Mark VanderVoord 2015-02-11 15:53:44 -05:00
  • 0f4ea8906b Add a port of unity_test_summary.rb to Python Alexander Mueller 2015-02-11 16:06:03 +01:00
  • fb5793e025 Merge pull request #96 from trianglee/master Mark VanderVoord 2015-02-03 07:43:51 -05:00
  • 462ee2768a Merge pull request #98 from gageas/moveAnnounceTestRun Mark VanderVoord 2015-02-02 10:55:48 -05:00
  • 975e222aae Move announceTestRun() after UnityBegin() @gageas 2015-02-03 00:19:30 +09:00
  • 81a34c55b7 Merge pull request #97 from gageas/undefCallocRealloc Mark VanderVoord 2015-02-02 10:06:58 -05:00
  • 1c5986bd30 undef defined callc/realloc macros @gageas 2015-02-02 23:57:07 +09:00
  • 5f77c6380d Added "const" to one argv parameter that was missed when adding strict error checks. nimrodz 2015-01-20 16:11:19 +02:00
  • e5b25dfc22 Merge pull request #95 from trianglee/master Mark VanderVoord 2015-01-20 07:57:23 -05:00
  • b389c71e71 Added stricter error checks by the compiler, and adapted all impacted code. nimrodz 2015-01-18 00:32:47 +02:00
  • af40e7901d Added a few files to .gitignore. nimrodz 2015-01-18 00:25:04 +02:00
  • 024af1672c - update rake file for fixture to match other changes. Mark VanderVoord 2014-12-16 14:17:56 -05:00
  • 8b736bf5b9 Merge pull request #94 from zanedp/win32-clang-weak-workaround Mark VanderVoord 2014-12-16 10:41:40 -05:00
  • cadee02e79 New macros for controlling use of weak linkage Zane D. Purvis 2014-12-15 16:02:59 -05:00
  • 6792a5f4ed Updated License to be standard MIT License Mark VanderVoord 2014-12-09 12:05:53 -05:00
  • 03857da68c Merge pull request #89 from kotofos/warningFixes Mark VanderVoord 2014-12-09 09:28:33 -05:00
  • 42b48582cc Merge pull request #90 from kotofos/argFix Mark VanderVoord 2014-12-09 09:27:01 -05:00
  • fd796fa195 Merge pull request #92 from zanedp/master Mark VanderVoord 2014-12-07 09:53:33 -05:00
  • a94264b8c0 Print newline after each test, but not before Zane D. Purvis 2014-08-04 12:37:22 -04:00
  • c1379802eb no arguments for UnityPointer_Init kotofos 2014-12-03 11:58:08 +06:00
  • f6bb716220 default case warning kotofos 2014-12-03 11:53:16 +06:00
  • 1aeb4468af putchar warning kotofos 2014-12-03 11:51:58 +06:00
  • df3fe0c3f0 Merge pull request #82 from gageas/master Mark VanderVoord 2014-11-09 11:53:57 -05:00
  • 1a868f3305 Declare local variables before if statement. @gageas 2014-11-10 00:50:09 +09:00
  • 28d05e4f33 Fixed tests Greg Williams 2014-11-05 21:57:48 -05:00
  • b953334ef3 Fixed compiler warning and added README.md Greg Williams 2014-11-05 21:43:47 -05:00
  • bcb4b74de9 - updated example makefiles to handle cygwin better Mark VanderVoord 2014-11-03 19:39:37 -05:00
  • 7aca6288cf Merge pull request #81 from laborer2008/master Mark VanderVoord 2014-11-02 08:57:59 -05:00
  • b492b6d379 Yet another fixes portion for "-Wcast-qual" warning. But they look a bit different. Sergey Gusarov 2014-11-02 07:19:34 +04:00
  • 8dffcd8c2a Fixed a lot of single-type gcc warning: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] FYI, "-Wcast-qual" is not a default option. The main idea: If some function receives "const void*" why should it operate with "void*" (or something) afterwards (after casting)? Sergey Gusarov 2014-11-02 07:08:48 +04:00
  • e6ad979f96 Merge pull request #79 from markmccrum/generate_test_runner_fixes Mark VanderVoord 2014-11-01 15:09:27 -04:00
  • 2fab0a82df Merge pull request #80 from laborer2008/master Mark VanderVoord 2014-11-01 15:00:14 -04:00
  • 399a878c14 Fixed examples compilation Sergey Gusarov 2014-11-01 21:47:04 +04:00
  • 616dd8bd43 Fixed script unit tests. Fixed generate_test_runner configuration loading - Modified rakefile to look in correct directory for script unit tests - Updated paths in script unit tests - Updated 'expectdata' files to match latest version of generated code - Fixed bug which prevented generate_test_runner from loading config from yaml file. Mark McCrum 2014-10-29 16:08:30 +00:00
  • 4a145c10b3 reworked character strings to be an array type so that storage classes are handled better for picky compilers. Mark VanderVoord 2014-10-26 19:52:17 -04:00
  • 2fef6ea5ac - cleaned up command-line entry of arguments - made help more clear - added ability to rename setUp / tearDown / and test prefix. Mark VanderVoord 2014-10-24 22:00:05 -04:00
  • 09e23cea49 - added UNITY_NEW_TEST macro for simpler RUN_TEST creation Mark VanderVoord 2014-10-24 21:12:15 -04:00
  • b5fd6005c2 further tweaks to negative printing Mark VanderVoord 2014-09-02 20:24:11 -04:00
  • f48005148f A (hopefully) more universal fix for the signed max negative value printer Mark VanderVoord 2014-09-01 18:20:56 -04:00
  • e2d5e1c632 Fixed printability of largest negative value (Thanks SigmaPic!) Mark VanderVoord 2014-09-01 16:44:18 -04:00
  • a53bb4d177 cleanup command line arguments of runner generator Mark VanderVoord 2014-09-01 16:30:07 -04:00
  • 376480a4d9 make fixtures and examples compatible with new UnityBegin method. Mark VanderVoord 2014-08-16 10:51:25 -04:00
  • 14b074336b reenable results summary. support tests named spec as well. clean up UnityBegin to make us not have to dig inside it to inject the filename. Add UNITY_OUTPUT_START() and UNITY_OUTPUT_COMPLETE() for future use. Mark VanderVoord 2014-07-30 22:12:49 -04:00
  • a4a2eb787d Added more robust handling of test includes, and to provide backwards API compatibility for Ceedling Greg Williams 2014-07-30 10:28:24 -04:00
  • bff1fc68cb rearranged project to centralize all self-test stuff under test directory. only pull in includes when required. Mark VanderVoord 2014-07-30 10:14:02 -04:00
  • f8f5c39e26 Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity Mark VanderVoord 2014-07-30 08:27:42 -04:00
  • 9d103ba712 Removed bundler support from .travis.yml and env setup, since unnecessary Greg Williams 2014-07-29 15:45:07 -04:00
  • 849e8eb0f5 Removed Gemfile and Gemfile lock, since no longer requires test-unit, and we will assume the user has some version of Rake if they want to run the tests. Greg Williams 2014-07-29 15:34:45 -04:00
  • ff21566501 Updated to autodetect 32 or 64 bit and use proper gcc Greg Williams 2014-07-29 12:28:21 -07:00
  • 78db7b19e6 Added export to specify LIBRARY_PATH for Linux, due to googling Greg Williams 2014-07-29 15:09:17 -04:00
  • 3ca172edbb moved things that should be in internals into internals. Mark VanderVoord 2014-07-29 15:08:49 -04:00
  • 3d8e4afb5f Added .travis.yml to config travis build properly Greg Williams 2014-07-29 14:47:42 -04:00
  • b5050c6ed3 redirect UNITY_POINTER_WIDTH to define at last catchable moment. Update older gcc targets to be fully explicit. Mark VanderVoord 2014-07-29 13:42:15 -04:00
  • 16e560147c further refinement of auto-detecting integer types Mark VanderVoord 2014-07-29 11:56:59 -04:00
  • 47a778d606 Fixed posix default foregroud color to use 39/default instead of 37/light-gray, since was very hard to see on some dark background terminals. Added Gemfile.lock for rubygems bundle environment consistency. Greg Williams 2014-07-25 11:36:33 -04:00
  • 93db16b6dc - add the rest of the WITHIN integer options (why were those missing? laziness?) - rename the custom FLOAT_TRAIT type because the old name was poor Mark VanderVoord 2014-07-22 13:43:06 -04:00
  • a568862a0c centralize strings for easier maintenance. Mark VanderVoord 2014-07-21 18:52:35 -04:00
  • 9fe750ba89 finish cleaning up floating point support added macros for IS_DETERMINATE and IS_NOT_DETERMINATE Mark VanderVoord 2014-07-21 16:37:18 -04:00
  • a8bd7b5af2 continue to streamline floating point support Mark VanderVoord 2014-07-21 14:38:25 -04:00
  • 96155881ed - rework to not bother with any of the ever-changing test frameworks in Ruby (sigh) for self-testing - started working on cleaner floating point support. more coming. Mark VanderVoord 2014-07-21 14:00:53 -04:00
  • 39cc60ce56 - support "weak" function definitions when available with compiler. Mark VanderVoord 2014-07-08 12:14:26 -04:00
  • e83439528b Make life easier for those creating their own runners: * Add UNITY_BEGIN and UNITY_END macros to simplify usage * Improve RUN_TEST to make line_num optional where possible Mark VanderVoord 2014-07-01 10:13:45 -04:00
  • fe2c691e9d Clean up many warnings. add clang_strict target to help uncover warnings Mark VanderVoord 2014-05-22 13:43:52 -04:00
  • 1cf02f8bf3 support cmock's need to destroy all of its memory at the end of the suite Mark VanderVoord 2014-05-21 19:29:44 -04:00
  • 124bfd8027 unity_fixture_internals.h should no be declaring functions without arguments. shame! Mark VanderVoord 2014-04-21 18:08:34 -04:00
  • d4197dacd0 There was no reason that CMock init and destroy calls should be in the protected blocks. teardown is more flexible if verify is called afterwards. Mark VanderVoord 2014-04-21 16:55:12 -04:00
  • a77f0308a7 Don't use any Ruby 1.9-only notation in the encoding call Mark VanderVoord 2014-04-21 16:15:14 -04:00
  • 651d24744d Merge pull request #68 from toybuilder/master Mark VanderVoord 2014-03-13 10:39:33 -04:00
  • bb729bdc3e fix parameter type for runAllTests to match header toybuilder 2014-03-13 05:58:39 -07:00
  • 06c2a3f7a6 Merge pull request #66 from ThrowTheSwitch/bug/print_styles Mark VanderVoord 2014-03-07 15:36:49 -05:00
  • 8f6f34f98a fixed format tags for u/int assertions Mark VanderVoord 2014-03-07 15:31:52 -05:00
  • 4d2c2a5e82 Merge pull request #65 from ThrowTheSwitch/bug/init Mark VanderVoord 2014-03-07 15:18:56 -05:00
  • f1c778e100 Fixed initialization of data structure by just doing it manually instead of statically (goodbye compiler warnings!) Mark VanderVoord 2014-03-07 15:17:25 -05:00
  • 291c2980e0 Merge pull request #62 from anthonyboorsma/master Mark VanderVoord 2014-03-07 14:47:26 -05:00
  • a3153610f3 Merge pull request #58 from ThrowTheSwitch/bug/double_handling Mark VanderVoord 2014-03-07 14:08:04 -05:00
  • 6a273e081c Merge pull request #57 from ThrowTheSwitch/bug/encoding Mark VanderVoord 2014-03-07 14:07:30 -05:00
  • 9ddfa74a7e fixed casts in UNITY_TEST_ASSERT_EQUAL_UINT*. Was previously casting to signed variables and then sign extending the value before casting to final uint and was causing errorneous test failures when executed on arm target Anthony Boorsma 2014-03-06 09:35:32 -05:00
  • 9a393a28d5 Merge pull request #50 from uozuAho/master Mark VanderVoord 2014-02-28 16:52:34 -05:00
  • 8c5456059f Merge pull request #34 from hoodja/master Mark VanderVoord 2014-02-28 16:42:35 -05:00