Commit Graph

  • d4b83f180b define setUp and tearDown under UNITY_WEAK_PRAGMA Andy Isaacson 2015-10-28 18:02:45 -07:00
  • 0c9fc9bb33 add prototypes for setUp and tearDown to unity.h Andy Isaacson 2015-10-27 18:18:52 -07:00
  • bc8533836b add C++ guards in unity.h Andy Isaacson 2015-10-27 17:24:55 -07:00
  • e896830484 Merge pull request #139 from jeremyhannon/master Mark VanderVoord 2015-10-15 06:29:11 -04:00
  • 1273112a05 MISRA rule 19.10: parentheses around macro params Jeremy Hannon 2015-10-14 17:19:26 -05:00
  • 6621bc81c4 Merge pull request #136 from algernon/h/fixture/unity_free-NULL-safety Mark VanderVoord 2015-10-06 06:50:52 -04:00
  • 1affe544d2 unity_fixture: Make unity_free() NULL-safe Gergely Nagy 2015-10-06 10:44:44 +02:00
  • 7f9f937cd1 Merge pull request #134 from mjago/master Mark VanderVoord 2015-09-18 07:02:34 -04:00
  • 70d6cb5780 Fix custom message for 64bit WITHIN_MESSAGE macros Martyn Jago 2015-09-18 11:54:09 +01:00
  • bc307bd600 properly slash paths passed to UnityBegin in test runner generator Mark VanderVoord 2015-08-18 08:27:15 -04:00
  • 98e8590fce Use correct macro for unity_fixture's FAIL. Output used headers from test runner generator Mark VanderVoord 2015-08-18 08:03:50 -04:00
  • f97e03d063 Merge pull request #128 from XelaRellum/fix_for_compiler_warning_signed_unsigned Mark VanderVoord 2015-08-03 10:13:43 -04:00
  • e3c86b659c Fixes compiler warning about comparison of signed/unsigned Alexander Mueller 2015-08-03 10:48:17 +02:00
  • 7ff000f29f Merge pull request #126 from tabascoeye/patch-1 Mark VanderVoord 2015-07-28 17:20:17 -04:00
  • f72ca64b52 "usage" output to show .py ext instead of .rb ¯\_(ツ)_/¯ 2015-07-27 14:24:55 +02:00
  • a7b85335be the test runner generator now has the ability to also output a header file for the tests, which can get pulled into the test itself if desired. Mark VanderVoord 2015-07-21 15:35:33 -04:00
  • ab7e322a04 protect against capturing both declaration and definitions and therefore creating a runner which runs that test twice. Mark VanderVoord 2015-07-21 09:37:26 -04:00
  • 16a7d30d5e INTPTR_MAX is defined as nothing on some targets (looking at you HP-UX) and therefore these lines would crash. Adding 0 to the check makes these lines always run. Mark VanderVoord 2015-07-21 08:38:48 -04:00
  • e47ac34c82 Fix default path in unity test summarizer Mark VanderVoord 2015-07-21 08:29:56 -04:00
  • ba87d27b77 - switch to old-school hash notation to be backwards compatible with older versions of ruby Mark VanderVoord 2015-07-21 07:35:29 -04:00
  • a1596c9497 Merge pull request #125 from trianglee/missing_string_assert Mark VanderVoord 2015-07-15 10:24:28 -04:00
  • 8c56cf4c67 Merge pull request #124 from trianglee/missing_unity_ptr_attribute Mark VanderVoord 2015-07-15 10:23:54 -04:00
  • f4292f6df5 Added back TEST_ASSERT_EQUAL_STRING_MESSAGE() which was (accidentally?) removed some time ago. Nimrod Zimerman 2015-07-15 12:00:56 +03:00
  • 4c9e06e356 Use UNITY_PTR_ATTRIBUTE() in one place where it was (accidentally?) not used. Nimrod Zimerman 2015-07-15 11:52:29 +03:00
  • 6f119a8ebd Merge pull request #122 from trianglee/get_tests_counts Mark VanderVoord 2015-07-14 16:45:55 -04:00
  • c7b0d3e80d Merge pull request #123 from trianglee/ignored_tests_counted Mark VanderVoord 2015-07-14 15:27:48 -04:00
  • 8a5e7cce24 Added ability to get number of ignored tests and total number of tests. Nimrod Zimerman 2015-07-14 17:54:11 +03:00
  • 9e9adc050c Bug fix - ignored tests were incorrectly counted when not selected for running. Nimrod Zimerman 2015-01-13 22:48:36 +02:00
  • 6a944c2eb9 Merge pull request #120 from aburks/master Mark VanderVoord 2015-07-12 10:18:43 -04:00
  • 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 89b003ed0b 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