Mark VanderVoord
27bca0c3c4
style cleanup
2021-02-05 15:53:43 -05:00
Mark VanderVoord
9bb250ea4a
Update so only config is shared. Everything else about the current job is passed.
2021-02-05 15:15:14 -05:00
Mark VanderVoord
9d092898ef
Merge pull request #346 from ThrowTheSwitch/reapply_329
...
Revert "Revert "CMock can now compile without setjmp.h present on the…
v2.5.3
2021-01-29 10:54:18 -05:00
Mark VanderVoord
dd00b96f0d
Fix broken tests for supporting exclude_setjmp. Verify cexception won't be run when this is enabled.
2021-01-29 10:47:52 -05:00
Mark VanderVoord
aa5113e012
Update apt-get in the hopes that this makes multilib happy.
2021-01-29 10:12:40 -05:00
Mark VanderVoord
325b6b333a
Revert "Revert "CMock can now compile without setjmp.h present on the platform""
...
This reverts commit 3eccb8e3d4 .
2021-01-29 10:06:08 -05:00
Mark VanderVoord
73fd65928c
Merge pull request #345 from ThrowTheSwitch/revert-329-master
...
Revert "CMock can now compile without setjmp.h present on the platform"
2021-01-28 08:15:45 -05:00
Mark VanderVoord
3eccb8e3d4
Revert "CMock can now compile without setjmp.h present on the platform"
2021-01-28 08:15:10 -05:00
Mark VanderVoord
1f939c9005
Merge pull request #329 from jmrubillon/master
...
CMock can now compile without setjmp.h present on the platform
2021-01-28 08:04:40 -05:00
Jean Rubillon
9e1c6c068d
Fix missed has_setjmp_h convert to exclude_setjmp_h
2021-01-28 12:57:02 +00:00
Jean Rubillon
4ae268dbbe
Changed has_setjmp_h option to exclude_setjmp_h
2021-01-27 18:56:02 +00:00
Mark VanderVoord
d847e6777c
Merge pull request #344 from ThrowTheSwitch/test/switch_to_actions
...
Switch to github actions
2021-01-16 22:22:34 -05:00
Mark VanderVoord
dcde998087
cleanup style
2021-01-16 22:20:16 -05:00
Mark VanderVoord
38d6dccc8e
Show the correct badge for this project.
...
Fix a bug in a test.
2021-01-16 22:15:36 -05:00
Mark VanderVoord
03acc531bf
when we checkout the project, do it recursively so we get unity for our tests. :)
2021-01-16 21:33:19 -05:00
Mark VanderVoord
45920ed724
Need project present before running bundler.
2021-01-16 21:21:51 -05:00
Mark VanderVoord
c4842fad0c
Don't run bundler as root.
2021-01-16 21:17:55 -05:00
Mark VanderVoord
9f3cee70cd
Switch to github actions
2021-01-16 21:13:55 -05:00
Mark VanderVoord
4dd557f2df
Merge pull request #311 from andred/master
...
allow compilation with stricter warnings
2021-01-07 18:02:24 -05:00
Mark VanderVoord
af1818a652
Merge pull request #327 from Hannes103/feature/sub-folder-supprt
...
add optional folder argument to create_mock()
2021-01-07 17:59:10 -05:00
Mark VanderVoord
e352bb8c3b
Merge pull request #340 from CezaryGapinski/fix-static-variables-for-enabled-inline-funcs-mocks
...
Fix static variables detection in headers for enabled inline function mocks
2021-01-07 17:57:36 -05:00
Mark VanderVoord
63f5e2f962
Merge pull request #341 from laurensmiers/master
...
Remove comments before start of inline-function-parsing
2021-01-07 17:57:17 -05:00
Cezary Gapinski
5eec2510b1
Change inline function detection to leave code not related to functions
...
static keyword can be used for variable in headers, like in issue #313 or ThrowTheSwitch/Ceedling#541
2020-12-15 21:10:45 +01:00
Cezary Gapinski
f5984f44e8
Add test to leaves static variables for enabled inline functions mocks
2020-12-14 21:12:11 +01:00
Mark VanderVoord
9c1c6a05dc
Merge pull request #337 from ollehu/master
...
Improve the regexps for parsing parameters to cmock.rb
2020-11-12 11:54:15 -05:00
ollehu
70d5750659
Merge branch 'master' into master
2020-11-12 16:01:43 +01:00
Mark VanderVoord
72f1c9e2b8
Merge pull request #339 from naggety/master
...
Allow parsing empty values for options in CLI arguments
2020-11-04 07:06:33 -05:00
Iñigo Huguet
334f46781a
Allow parsing empty values for options in CLI arguments
...
If an option is passed via CLI, it cannot be passed with an
empty value because the Regex makes it to match 1 or more
characters.
For example, arguments `--mock_prefix=""` and `--mock_prefix=`
are invalid, because they don't match the regex and are not
recognized as options, so they're treated as files to mock.
Changing the regex to match 0 or more characters for the option
value, instead of 1 or more, solves the problem.
2020-11-04 09:42:36 +01:00
Olle Hynén Ulfsjöö
ea061bbb50
Improve the regexps for parsing parameters to cmock.rb
...
Also, conform to the standard 80 character limit
Change-Id: I7830ddd5d65ccc06c96884c1c3d4575241f99e6d
2020-10-23 16:26:36 +02:00
Jean Rubillon
21d181380f
Signal that cexception needs setjmp to be supported.
2020-09-08 21:11:54 +01:00
Jean Rubillon
72b356b97d
Added option to remove setjmp.h from generated mock files as not supported on all embedded systems
2020-09-08 20:50:48 +01:00
Hannes Bachl
22a7228bbc
add optional folder argument to create_mock()
2020-09-01 10:17:54 +02:00
Mark VanderVoord
afa294982e
Merge pull request #326 from cloudsftp/ignore_stateless
...
Resolve Ruby Offenses found by CI
2020-08-19 07:51:00 -04:00
cloudsftp
44f126878b
remove trailing whitespace
2020-08-19 13:15:21 +02:00
cloudsftp
1987138e81
resolve ruby offenses found by CI
2020-08-19 12:40:35 +02:00
Mark VanderVoord
baa946a05f
Merge pull request #325 from cloudsftp/ignore_stateless
...
Plugin: IgnoreStateless
2020-08-19 06:38:03 -04:00
cloudsftp
d304ff273a
add StopIgnore to new plugin
2020-08-19 11:25:27 +02:00
cloudsftp
56faeb935f
add documentation
2020-08-19 10:38:26 +02:00
cloudsftp
61ed5cc7f8
add more tests for the new plugin
2020-08-19 10:17:05 +02:00
cloudsftp
496cabff10
add more test cases for the new plugin
2020-08-18 16:56:36 +02:00
cloudsftp
94ca645061
add first simple test and remove warning "unused parameter"
2020-08-18 16:31:45 +02:00
cloudsftp
d36662da2a
repair failing unit tests for plugins
2020-08-18 15:33:51 +02:00
cloudsftp
b735d09603
add plugin :ignore_stateless that solves ThrowTheSwitch/CMock#307
2020-08-18 15:25:55 +02:00
Mark VanderVoord
5f8ec6da7f
Merge pull request #321 from michaelbrockus/let_meson_handle_flags
...
Letting Meson handle flags
2020-08-06 16:29:30 -04:00
Michael Brockus
3e28a5412d
use files method
2020-08-06 13:26:00 -07:00
Michael Brockus
5f8e90b82a
Update meson.build
2020-08-06 12:39:56 -07:00
laurens
541e7034ad
Remove comments before start of inline-function-parsing
2020-06-13 12:49:33 +02:00
Mark VanderVoord
eeecc49ce8
Merge pull request #312 from Skinner927/patch-1
...
Stop strippables default value from being parsed (Thanks @Skinner927 )
2020-06-04 13:15:31 -04:00
Dennis Skinner
175a834574
Stop strippables default value from being parsed
...
Default value for `:strippables` was rendering incorrectly because of markdown parsing.
2020-06-04 13:02:30 -04:00
André Draszik
ec6fa2c516
Revert "drop unnecessary prototype (immediately before definition)"
...
This reverts commit 7fbeb40965 .
This causes compilation warnings / errors when a project uses
-Wmissing-prototypes compilation flags for safety reasons:
.../test/mocks/mock_logMessages.c:685:6: warning: no previous prototype for ‘CMockExpectParameters_log_message’ [-Wmissing-prototypes]
685 | void CMockExpectParameters_log_message(CMOCK_log_message_CALL_INSTANCE* cmock_call_instance, const char* logMessage, int messageID, severity_t severityIn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
etc.
Signed-off-by: André Draszik <git@andred.net >
2020-05-25 16:35:54 +01:00