-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update AfrOtaJobDocumentFields_t definition. #89
Conversation
Add OTA Parser source and include files. Add OTA Parser unit test files. Add OTA Parser CBMC proofs. OTA Parser MISRA fixes.(Directive 4.8 still to be fixed.)
Add misspelled words in unit test files to .cSpellWords.txt Remove steps to clone submodules from ci.yml(now uses fetchContent) Update buildIndexedFileQueryString() to include the terminating null byte when writing to buffer. They are overwritten on the following lines, but there is a build error when running the unitTests via github actions without this.
Update ci.yml so that coverage is able to computed for otaJobParser files. Remove step to copy otaJobParser source files to build directory.
Update ci.yml due to coverage data being computed correctly on an Ubuntu EC2 instance but not the actions runner as it included both jobs.c files. It should only compute coverage on the jobs.c file in the build dir since that has static keywords stripped out for testing.
Update JOBS_HANDLER_* to be OTA_HANDLER_* Update memory_statistics_config to have all source files listed before coreJSON Update verify_manifest to use a sparse checkout.
/bot run formatting |
Add https://misra.org.uk to linkAllowList. Link verifier points it out as an invalid link, but that is incorrect so adding it to the allow list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a clear/good PR. Approve in advance. Could you help note why you move AfrOtaJobDocumentFields_t
definition from .c to .h?
Could you try moving the structure definition into it's own header file. I'm thinking should fix both the MISRA violation and allow this to build without problems. You will simply need to include the definition header for the build. |
Issue #, if available:
Description of changes:
Move definition of AfrOtaJobDocumentFields_t struct back to job_parser.h from job_parser.c
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.