Mark VanderVoord
fb8f48a10d
Fix tests that were left behind.
2020-05-03 08:53:51 -04:00
Mark VanderVoord
b30c22780e
Fixed previous error with extra junk and bumped subproject versions
2020-05-03 08:31:23 -04:00
Mark VanderVoord
0d593c60d3
Merge pull request #305 from pwatt01/master
...
add <function>_StopIgnore() function
2020-05-02 14:45:23 -04:00
pwatt01
555b608116
Remove Trailing whitespace
2020-04-27 12:23:29 +09:30
pwatt01
3c3dad1eb2
Remove trailing whitespace
2020-04-27 12:21:41 +09:30
pwatt01
7bfa02cd23
Fix whitespace errors, minimize unnecessary branching
2020-04-24 21:49:16 +09:30
pwatt01
1f16f4b5a3
Fix Ignore declaration missing, fix StopIgnore to handle returns
2020-04-24 14:09:02 +09:30
pwatt01
553dc94b76
Fix typo
2020-04-24 12:08:50 +09:30
pwatt01
b6a6bd0a11
Updated documentation
2020-04-24 09:24:54 +09:30
pwatt01
d0214e4e9d
add <function>_StopIgnore() function
2020-04-22 15:34:01 +09:30
Mark VanderVoord
ee412d296a
Merge pull request #299 from Tuc-an/unnecessary-prototype
...
drop unnecessary prototype (immediately before definition)
2020-04-09 16:11:51 -04:00
Tuc-An
7fbeb40965
drop unnecessary prototype (immediately before definition)
2020-03-27 11:17:14 -04:00
Mark VanderVoord
b32e3cd601
Merge pull request #298 from Tuc-an/compact
...
convert Boolean values from int to char to reduce memory
2020-03-25 10:11:14 -04:00
Tuc-An
cfcca2e43e
convert Boolean values from int to char to reduce memory
2020-03-25 10:00:05 -04:00
Mark VanderVoord
80d2c3a4e9
Merge pull request #297 from Tuc-an/size_t
...
change CMOCK_MEM_INDEX_TYPE default type to size_t
2020-03-25 08:01:45 -04:00
Tuc-An
aaeae0e217
update doc to match
2020-03-25 07:25:47 -04:00
Tuc-An
d78b5e4ab6
change CMOCK_MEM_INDEX_TYPE default type to size_t
2020-03-25 07:19:54 -04:00
Mark VanderVoord
2bbf3ab5e5
Merge pull request #296 from Tuc-an/old-c-style-comments
...
switch comments to C-style to improve compatibility with pre-C99 and …
2020-03-25 06:39:49 -04:00
Tuc-An
2bd9128689
Trigger notification
2020-03-25 05:53:46 -04:00
Tuc-An
24daea45ab
switch comments to C-style to improve compatibility with pre-C99 and match unity
2020-03-25 05:41:14 -04:00
mvandervoord
382c196379
Latest Unity
2020-03-19 11:46:58 -04:00
Mark VanderVoord
586ec41c26
Merge pull request #294 from ThrowTheSwitch/style
...
Update Testing and Style to match our coding standard
2020-03-19 11:43:26 -04:00
mvandervoord
11a278eebf
astyle not on travis, therefore don't test with CI
2020-03-19 11:40:30 -04:00
mvandervoord
69ad84b06b
No need to freeze immutable objects
2020-03-19 11:35:22 -04:00
mvandervoord
13ee7c9eec
Further cleanup based on server results
2020-03-19 11:29:17 -04:00
mvandervoord
1bdb299566
update gem file to drop old requirements
2020-03-19 10:27:51 -04:00
mvandervoord
4706da4453
another try
2020-03-19 10:17:30 -04:00
mvandervoord
44c8d4718a
Further tweaks to testing
2020-03-19 10:09:22 -04:00
mvandervoord
9b393ad4fb
Further style changes to match standard.
...
Pull in latest Unity.
Update testing parameters to include Ruby 2.7
2020-03-19 10:00:12 -04:00
mvandervoord
67858837d1
Update coding style to match our own official coding guidelines
2020-03-18 19:16:58 -04:00
Mark VanderVoord
9f8624a722
Merge pull request #283 from michaelbadcrumble/master
...
Cleaner implementation of Meson build support
2020-03-18 15:20:07 -04:00
mvandervoord
0f196a52cf
Deal with more complex array length expressions. (thanks @jlindgren90 !)
2020-03-18 15:19:23 -04:00
mvandervoord
8885be7e55
Support alternative header file extension support (thanks @Tuc-an)
2020-03-18 15:08:21 -04:00
mvandervoord
ae677d6481
Tweak to support test runner generator returning includes with extensions now.
2020-03-18 12:29:52 -04:00
mvandervoord
6aafb8184f
Update to latest Unity
2020-03-18 11:55:43 -04:00
Mark VanderVoord
bd0a8bfd38
Merge pull request #272 from jlindgren90/master
...
Some minor optimizations
2020-03-16 13:45:10 -04:00
Mark VanderVoord
300ebb86fd
Merge branch 'master' into master
2020-03-16 13:44:41 -04:00
mvandervoord
3cfa437460
Make skeleton path configurable
2020-03-12 17:08:51 -04:00
mvandervoord
f5abf20f4b
Add ability to generate skeleton from header. woo!
2020-03-12 12:20:33 -04:00
Mark VanderVoord
2eb209b2a8
Merge pull request #286 from andred/for-merge
...
cmock_generator_plugin_callback: allow usage with Clang scan-build
2020-02-13 22:01:07 -05:00
André Draszik
ccfe2690f4
cmock_generator_plugin_callback: allow usage with Clang scan-build
...
Running a project through Clang's scan-build produces countless
warnings like
build/test/mocks/mock_handleTroubleEvents.c:321:5: warning: Value stored to 'call_instance' is never read
call_instance = CMOCK_GUTS_NONE;
^ ~~~~~~~~~~~~~~~
scan-build correctly determines that in the following snippet
UNITY_CLR_DETAILS();
if (Mock.checkForActiveTroubleAfterDebounce_CallbackFunctionPointer != NULL)
call_instance = CMOCK_GUTS_NONE;
call_instance = Mock.startStopTimer_CallInstance;
as generated by Ceedling / CMock, the first assignment to
call_instance is completely unused.
The sheer amount of warnings makes it very hard to impossible to
spot real problems in one's code, and creates huge code analysis
reports that just distract from actual problems in one's code.
Without being too invasive, we can instruct scan-build to ignore
this dead store using
https://clang-analyzer.llvm.org/faq.html#dead_store
Signed-off-by: André Draszik <git@andred.net >
2020-02-14 02:56:21 +00:00
Mark VanderVoord
46db68699c
Merge pull request #279 from laurensmiers/fix_bug_pull_request
...
Fix parsing of inline function declarations/macro's
2020-02-12 13:14:11 -05:00
Michael Brockus
4d0ea1afda
Update meson.build
2020-01-27 23:18:39 -08:00
Michael Brockus
a1b6da1773
Update meson.build
2020-01-27 23:17:18 -08:00
John Lindgren
3093a440dd
expect: Optimize mock_verify() for the successful case.
...
Remove unconditional UNITY_SET_DETAIL/UNITY_CLEAR_DETAILS pair and
only call UNITY_SET_DETAIL if we are failing.
2020-01-27 15:24:06 -05:00
John Lindgren
574d532df7
callback: mock_verify() has no effect.
...
callback has a later priority than expect, so setting call_instance
to CMOCK_GUTS_NONE at this point has no effect. This mock_verify()
has probably been obsolete for a long time.
2020-01-27 15:24:06 -05:00
laurensmiers
87cae74434
Re-use global function declaration regex in inline-function parsing
2020-01-15 00:04:28 +01:00
laurensmiers
fda0b13fe5
Remove debug prints
2020-01-14 22:23:31 +01:00
laurensmiers
1c67efc485
Update inline function parsing documentation
2020-01-14 22:18:17 +01:00
laurensmiers
9571c52d70
Replace search for first bracket/semicolon with regex matching first function declaration
...
The regex matches the function declaration at the start of the
string (post-match).
2020-01-14 22:18:17 +01:00