414 Commits

Author SHA1 Message Date
f97e03d063 Merge pull request #128 from XelaRellum/fix_for_compiler_warning_signed_unsigned
Fixes compiler warning about comparison of signed/unsigned
2015-08-03 10:13:43 -04:00
e3c86b659c Fixes compiler warning about comparison of signed/unsigned 2015-08-03 10:48:17 +02:00
7ff000f29f Merge pull request #126 from tabascoeye/patch-1
"usage" output to show .py ext instead of .rb
2015-07-28 17:20:17 -04:00
f72ca64b52 "usage" output to show .py ext instead of .rb
since this is a python port of "unity_test_summary.rb" the console usage output should say "unity_test_summary.py" instead
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. 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. 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. 2015-07-21 08:38:48 -04:00
e47ac34c82 Fix default path in unity test summarizer 2015-07-21 08:29:56 -04:00
ba87d27b77 - switch to old-school hash notation to be backwards compatible with older versions of ruby 2015-07-21 07:35:29 -04:00
a1596c9497 Merge pull request #125 from trianglee/missing_string_assert
Added back TEST_ASSERT_EQUAL_STRING_MESSAGE() which was (accidentally?) removed some time ago.
2015-07-15 10:24:28 -04:00
8c56cf4c67 Merge pull request #124 from trianglee/missing_unity_ptr_attribute
Use UNITY_PTR_ATTRIBUTE() in one place where it was (accidentally?) not used.
2015-07-15 10:23:54 -04:00
f4292f6df5 Added back TEST_ASSERT_EQUAL_STRING_MESSAGE() which was (accidentally?) removed some time ago. 2015-07-15 13:27:15 +03:00
4c9e06e356 Use UNITY_PTR_ATTRIBUTE() in one place where it was (accidentally?) not used.
This eliminates a compiler warning for certain compilers.
2015-07-15 11:52:29 +03:00
6f119a8ebd Merge pull request #122 from trianglee/get_tests_counts
Added ability to get number of ignored tests and total number of tests.
2015-07-14 16:45:55 -04:00
c7b0d3e80d Merge pull request #123 from trianglee/ignored_tests_counted
Bug fix - ignored tests were incorrectly counted when not selected for running. (Thanks!)
2015-07-14 15:27:48 -04:00
8a5e7cce24 Added ability to get number of ignored tests and total number of tests. 2015-07-14 19:49:09 +03:00
9e9adc050c Bug fix - ignored tests were incorrectly counted when not selected for running.
Ignored tests are now correctly skipped if not selected by test name or
by group name.
2015-07-14 19:29:16 +03:00
6a944c2eb9 Merge pull request #120 from aburks/master
Fixes #118: unity_output_Spy should use the platform-agnostic macros for memory.
2015-07-12 10:18:43 -04:00
22b05ad537 Fixes #118: unity_output_Spy should use the platform-agnostic macros for memory. 2015-07-01 11:17:09 -07:00
254ba80543 Merge pull request #117 from aburks/master
Fixes issues #3 and #116 (Thanks!)
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. 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'. 2015-06-30 15:24:39 -07:00
e40530d59f Merge pull request #112 from ThrowTheSwitch/bugfix/ptr_cast
Avoid warnings when casting pointers in array comparisons (dancing between warnings)
2015-06-20 09:55:40 -04:00
9b4c5b76d9 Fixed missed prototype 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
2015-06-19 15:16:10 -04:00
08ffed33d4 Merge pull request #108 from eivindt/test-equal-string-len
New asserter: TEST_ASSERT_EQUAL_STRING_LEN
2015-06-19 13:38:10 -04:00
c3d95e7b0d Merge pull request #109 from laborer2008/master
Reverting of redundant castings, Fixed -Wcast-qual warnings
2015-06-19 13:29:25 -04:00
7272480c1b Allow summarizer to search through subdirectories for results files 2015-06-19 11:48:48 -04:00
77af37add0 - catch optional fixtures plugin up to mainline unity (somewhat. like fixing line endings) 2015-06-18 17:16:01 -04:00
06c95fcb08 - Fixed broken examples 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);
                                                                                ^
2015-05-23 02:21:38 +03:00
15b367f8d1 Fixed stupid typo 2015-04-23 21:02:05 +02:00
61c0b0b75c Added support for TEST_ASSERT_EQUAL_STRING_LEN*
Compares two strings until maximum n bytes (i.e. strncmp()).
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.
2015-04-06 10:44:44 -04:00
271f299df5 catch-all-else 2015-03-23 13:20:33 +01:00
5053f2ca90 Fixed issue with requiring the new type_sanitizer module in different ways 2015-03-12 12:25:43 -04:00
89b003ed0b Removed platform-specific warnings unsupported by GCC 2015-03-12 10:53:44 -04:00
7fb81c8e95 Merge branch 'master' of github.com:ThrowTheSwitch/Unity 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. 2015-03-12 10:33:23 -04:00
891775de38 Merge pull request #102 from XelaRellum/unity_test_summary_python
Add a port of unity_test_summary.rb to Python (Thanks so much! I'm sure people will find this useful)
2015-02-11 15:53:44 -05:00
0f4ea8906b Add a port of unity_test_summary.rb to Python
Useful in environments without access to ruby
2015-02-11 16:06:03 +01:00
fb5793e025 Merge pull request #96 from trianglee/master
Added "const" to one argv parameter that was missed when adding strict error checks. (thanks, trianglee!)
2015-02-03 07:43:51 -05:00
462ee2768a Merge pull request #98 from gageas/moveAnnounceTestRun
Move announceTestRun() after UnityBegin()
2015-02-02 10:55:48 -05:00
975e222aae Move announceTestRun() after UnityBegin() 2015-02-03 00:19:30 +09:00
81a34c55b7 Merge pull request #97 from gageas/undefCallocRealloc
undef defined callc/realloc macros
2015-02-02 10:06:58 -05:00
1c5986bd30 undef defined callc/realloc macros 2015-02-02 23:57:07 +09:00
5f77c6380d Added "const" to one argv parameter that was missed when adding strict error checks. 2015-01-20 16:14:41 +02:00
e5b25dfc22 Merge pull request #95 from trianglee/master
Make Unity's compilation flags stricter
2015-01-20 07:57:23 -05:00
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
af40e7901d Added a few files to .gitignore. 2015-01-18 00:38:26 +02:00