Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

783 cmock of the wrong file is generated #446

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9322e7c
add check to prevent sizeof(void) generation
Aug 23, 2023
9ecc167
Removed including standard libraries from mock sources.
informatimago Aug 10, 2023
92d3f9a
Write message to stdout instead of stderr.
informatimago Aug 11, 2023
ef23c3c
Removed parentheses following rubocop advice.
informatimago Aug 11, 2023
07443f1
Ignore backup files.
informatimago May 4, 2023
6a6816a
Added generation of noreturn exits.
informatimago May 4, 2023
814a908
Added parsing of noreturn attributes.
informatimago May 4, 2023
2e130ef
Updated the documentation.
informatimago May 15, 2023
f768138
Added noreturn integration test.
informatimago May 16, 2023
570f2a1
Corrections for noreturn integration test.
informatimago May 16, 2023
4ee5b82
Added callback_kind to use * or ^ or other for callback types.
informatimago May 25, 2023
b19ff03
Added comment mentionning path of source file to generated files.
informatimago Jun 26, 2023
d9f1d8c
Update docs/CMock_Summary.md
informatimago Jun 26, 2023
a024b67
Added tracing of source files.
informatimago Jul 25, 2023
3e38190
Added Creating messages.
informatimago Jul 26, 2023
2b5742b
Added messages.
informatimago Aug 1, 2023
977fb9a
Corrections to fulfill the tests.
informatimago Aug 1, 2023
daf4163
Conditionnalized _Noreturn on C11+
informatimago Aug 2, 2023
509eacf
Corrections hinted by rubocop.
informatimago Aug 2, 2023
453c915
Removed including standard libraries from mock sources.
informatimago Aug 10, 2023
f2b213d
Added message when creating mock and skeleton.
informatimago Aug 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added noreturn integration test.
informatimago committed Dec 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f768138983543f0f1a2e57ed4f37c795be9a2092
4 changes: 4 additions & 0 deletions test/system/test_compilation/config.yml
Original file line number Diff line number Diff line change
@@ -8,3 +8,7 @@
:treat_as_void:
- OSEK_TASK
- VOID_TYPE_CRAZINESS
:strippables: []
:process_gcc_attributes: true
:noreturn_attributes: ['_Noreturn','noreturn']

9 changes: 9 additions & 0 deletions test/system/test_compilation/noreturn.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef noreturn_h
#define noreturn_h
/* #include <stdnoreturn.h> */

_Noreturn void myexec1(const char* program);
void __attribute__((noreturn)) myexec2(const char* program);
void myexec3(const char* program) __attribute__((noreturn));

#endif