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

Integration Candidate: 2020-05-27 #71

Merged
merged 8 commits into from
Jun 10, 2020
Merged

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Jun 3, 2020

Describe the contribution

Fix #66
Fix #68

Testing performed
https://github.com/nasa/cFS/pull/96/checks

Expected behavior changes

PR #67 - Test cases now compare an expected event string with a string derived from the spec string and arguments that were output by the unit under test.

PR #69 - Replace references to ccsds.h types with the cfe_sb.h-provided type.

System(s) tested on
Ubuntu:Bionic

Additional context
Part of nasa/cFS#96

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

jphickey and others added 4 commits May 20, 2020 22:41
Add string validation to the sample event hook as an example
of how to use the context information supplied to the hook
to perform other validation.
Applications should only use types provided by CFE_SB.
Fix #66, Add extended context information to event hook
Fix #68, remove references to CCSDS types
@astrogeco
Copy link
Contributor Author

@jphickey nasa/cFS#96 has some build errors related to building sample_app and sample_lib unit tests can you help?

[ 81%] Building C object apps/sample_app/unit-test/CMakeFiles/sample_app-sample_app-testrunner.dir/coveragetest/coveragetest_sample_app.c.o

/home/travis/build/nasa/cFS/apps/sample_app/unit-test/coveragetest/coveragetest_sample_app.c: In function ‘UT_CheckEvent_Hook’:

/home/travis/build/nasa/cFS/apps/sample_app/unit-test/coveragetest/coveragetest_sample_app.c:62:19: error: ‘CFE_EVS_MAX_MESSAGE_LENGTH’ undeclared (first use in this function); did you mean ‘CFE_MISSION_EVS_MAX_MESSAGE_LENGTH’?

https://travis-ci.com/github/nasa/cFS/jobs/346095769

Should use CFE_MISSION_EVS_MAX_MESSAGE_LENGTH
@jphickey
Copy link
Contributor

jphickey commented Jun 8, 2020

Pushed commit 3874dbf. Was using deprecated symbol name - corrected - sorry about that!

@astrogeco astrogeco marked this pull request as ready for review June 10, 2020 23:22
@astrogeco astrogeco merged commit 4a4b8e2 into master Jun 10, 2020
@skliper skliper added this to the 1.2.0 milestone Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove references to "CCSDS" structures Provide example of extended context arguments in unit test
3 participants