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
024af1672c
- update rake file for fixture to match other changes.
2014-12-16 14:17:56 -05:00
8b736bf5b9
Merge pull request #94 from zanedp/win32-clang-weak-workaround
...
New macros for controlling use of weak linkage (Thanks Zane!)
2014-12-16 10:41:40 -05:00
cadee02e79
New macros for controlling use of weak linkage
...
- `UNITY_WEAK_ATTRIBUTE`, if defined, is placed before declarations of weakly
linked symbols. If not manually defined, it will be automatically set to
`__attribute__((weak))` on GCC and Clang, except for Clang for Win32.
- `UNITY_WEAK_PRAGMA`, if defined, will cause preprocessor to emit
`#pragma weak setUp`, etc. Ignored if `UNITY_WEAK_ATTRIBUTE` is defined.
- `UNITY_NO_WEAK` undefines both of the above resulting in no weakly
linked symbols.
Work around for ThrowTheSwitch/Unity#93
2014-12-15 16:18:49 -05:00
6792a5f4ed
Updated License to be standard MIT License
2014-12-09 12:05:53 -05:00
03857da68c
Merge pull request #89 from kotofos/warningFixes
...
Warning fixes (thanks kotofos!)
2014-12-09 09:28:33 -05:00
42b48582cc
Merge pull request #90 from kotofos/argFix
...
no arguments for UnityPointer_Init (thanks Kotofos)
2014-12-09 09:27:01 -05:00
fd796fa195
Merge pull request #92 from zanedp/master
...
Print newline after each test, but not before (Thanks Zane)
2014-12-07 09:53:33 -05:00
a94264b8c0
Print newline after each test, but not before
...
This change makes parsing the results easier for tools like ceedling,
which was choking when a test used stdout and there wasn't an
EOL after "PASS" (ThrowTheSwitch/Ceedling#41 ).
2014-12-06 16:47:57 -05:00
c1379802eb
no arguments for UnityPointer_Init
2014-12-03 11:58:08 +06:00
f6bb716220
default case warning
2014-12-03 11:53:16 +06:00
1aeb4468af
putchar warning
2014-12-03 11:51:58 +06:00
df3fe0c3f0
Merge pull request #82 from gageas/master
...
Declare local variables before UNITY_SKIP_EXECUTION.
2014-11-09 11:53:57 -05:00
1a868f3305
Declare local variables before if statement.
2014-11-10 00:50:09 +09:00
28d05e4f33
Fixed tests
2014-11-05 21:57:48 -05:00
b953334ef3
Fixed compiler warning and added README.md
2014-11-05 21:43:47 -05:00
bcb4b74de9
- updated example makefiles to handle cygwin better
2014-11-03 19:39:37 -05:00
7aca6288cf
Merge pull request #81 from laborer2008/master
...
Fixed -Wcast-qual gcc warnings
2014-11-02 08:57:59 -05:00
b492b6d379
Yet another fixes portion for "-Wcast-qual" warning.
...
But they look a bit different.
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)?
2014-11-02 07:08:48 +04:00
e6ad979f96
Merge pull request #79 from markmccrum/generate_test_runner_fixes
...
Fixed script unit tests. Fixed generate_test_runner configuration loadin...
(Thanks Mark McCrum. You are awesome!)
2014-11-01 15:09:27 -04:00
2fab0a82df
Merge pull request #80 from laborer2008/master
...
Awesome. Thanks so much!
2014-11-01 15:00:14 -04:00
399a878c14
Fixed examples compilation
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.
2014-10-29 16:10:11 +00:00
4a145c10b3
reworked character strings to be an array type so that storage classes are handled better for picky compilers.
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.
2014-10-24 22:00:05 -04:00
09e23cea49
- added UNITY_NEW_TEST macro for simpler RUN_TEST creation
2014-10-24 21:12:15 -04:00