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

cFE Integration candidate: 2021-04-20 #1406

Merged
merged 10 commits into from Apr 22, 2021
Merged

cFE Integration candidate: 2021-04-20 #1406

merged 10 commits into from Apr 22, 2021

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Apr 22, 2021

Description

PR #1290

Fix #1287, split interface and implementation modules

Separates the list of CFE core interface modules (e.g. core_api) from the list of CFE core implementation modules (e.g. msg). This allows the content of core_api to be expanded to locally include any additional modules the user has added to cFE core via the MISSION_CORE_MODULES list.

PR #1376

Fix #1337, add docs to CFE_ES_RegisterCDS() regarding clearing

Note in the documentation for this function that it is the responsibility of the calling app to clear/fill the CDS block any time a new block is allocated.

PR #1292

Fix #1281, remove testrunner and convert testcase to app

Removes the separate CFE "testrunner" module and moves the logic associated with running a test into cfe_assert library. Converts the "testcase" module from a library into an app, by calling into the runner logic that is now inside cfe_assert. Each functional test is a separate app, not a library, so it can be started and stopped via ES command like any other app.

HOTFIX IC 2021-04-20:

Always build cfe_assert.

Building "cfe_assert" does not need to be conditional on ENABLE_UNIT_TESTS, it should be built all the time.

Additional Context

Part of nasa/cFS#248

Testing

cFE Checks https://github.com/nasa/cFE/pull/1406/checks
cFS Bundle Checks https://github.com/nasa/cFS/pull/248/checks

Authors

@jphickey

jphickey and others added 6 commits April 9, 2021 12:07
Separate the list of CFE core interface modules (e.g. core_api) from
the list of CFE core implementation modules (e.g. msg).  This allows
the content of core_api to be expanded to include any additional
modules the user has added to cFE core locally.
Merge the "testrunner" app and put the runner logic into cfe_assert lib.
Converts the "testcase" library into an app that simply calls the logic
in cfe_assert to do the test.

This means that the test can be run on demand by issuing the ES
start app command, rather than putting it into the startup script.
Adjust the event types so that Start/End are "info" events, not debug
events (in the default platform config, debug events are not shown).

Also update documentation to correct the startup script entries.
Note in the documentation for this function that it is the responsibility
of the calling app to clear/fill the CDS block any time a new block is
allocated.
Use a constant at the top of the file, and change the
names to match current environment.
Fix #1287, split interface and implementation modules
Fix #1337, add docs to CFE_ES_RegisterCDS() regarding clearing
Fix #1281, remove testrunner and convert testcase to app
jphickey and others added 2 commits April 22, 2021 12:16
Building "cfe_assert" does not need to be conditional on
ENABLE_UNIT_TESTS, it should be built all the time.
@astrogeco astrogeco merged commit 73c338d into main Apr 22, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 22, 2021
Combines:

nasa/cFE#1406
nasa/osal#967
nasa/cFS-GroundSystem#178

Includes:

nasa/cFE#1290, Split interface and implementation modules
nasa/cFE#1376, add docs to CFE_ES_RegisterCDS() regarding clearing
nasa/cFE#1292, Remove testrunner and convert testcase to app
cfe-IC:2021-04-20, HOTFIX: Always build cfe_assert.

nasa/osal#950, Eliminate time and access name collisions with VxWorks
nasa/osal#946, Fix Shell implementation on posix and rtems

nasa/cFS-GroundSystem#174, update executable name and version in setup.py
nasa/cFS-GroundSystem#175, Add executable install guide
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 22, 2021
Combines:

nasa/cFE#1406
nasa/osal#967
nasa/cFS-GroundSystem#178

Includes:

nasa/cFE#1290, Split interface and implementation modules
nasa/cFE#1376, add docs to CFE_ES_RegisterCDS() regarding clearing
nasa/cFE#1292, Remove testrunner and convert testcase to app
cfe-IC:2021-04-20, HOTFIX: Always build cfe_assert.

nasa/osal#950, Eliminate time and access name collisions with VxWorks
nasa/osal#946, Fix Shell implementation on posix and rtems

nasa/cFS-GroundSystem#174, update executable name and version in setup.py
nasa/cFS-GroundSystem#175, Add executable install guide
zanzaben pushed a commit to zanzaben/cFE that referenced this pull request Apr 22, 2021
cFE Integration candidate: 2021-04-20
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants