-
Notifications
You must be signed in to change notification settings - Fork 202
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
Fix #1281, remove testrunner and convert testcase to app #1292
Fix #1281, remove testrunner and convert testcase to app #1292
Conversation
a3007ac
to
99be4cd
Compare
Rebased to latest mainline. |
99be4cd
to
bf7f7f1
Compare
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.
bf7f7f1
to
422dcac
Compare
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.
Need to also update cFS/cfe/docs/README_functionaltest.md file with the new instructions on how to run the tests.
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.
Updated in ec2d2f6 |
CCB:2021-04-14 - APPROVED |
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.
2 of the test are failing and need to be updated.
Test App Info -> EntryPt (line 66)
Test App Info -> FileName (line 69)
Use a constant at the top of the file, and change the names to match current environment.
e4afd35
to
23c835b
Compare
Corrected string checks in commit 23c835b |
59839e3
to
3f9f7f5
Compare
nasa/cFE#1292, Remove testrunner and convert testcase to app
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
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
Fix nasa#1281, remove testrunner and convert testcase to app
Describe the contribution
This permits tests to be invoked at any time by issuing the ES "start app" command and specifying the testcase app.
Fixes #1281
Testing performed
Build and sanity check CFE.
Run all currently-implemented functional tests
Expected behavior changes
Each functional test is a separate app, not a library, so it can be started and stopped via ES command like any other app.
System(s) tested on
Ubuntu 20.04
Additional context
Requires #1276 as prerequisite
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.