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

MCP750 functional test failure - app DataAddress and DataSize zero #1955

Closed
skliper opened this issue Sep 16, 2021 · 0 comments · Fixed by #1956 or #1967
Closed

MCP750 functional test failure - app DataAddress and DataSize zero #1955

skliper opened this issue Sep 16, 2021 · 0 comments · Fixed by #1956 or #1967
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Sep 16, 2021

Is your feature request related to a problem? Please describe.
When running on the MCP750:

[ FAIL] 10.022 es_info_test.c:89 - Test App Info -> DataAddress  = 0
[ FAIL] 10.023 es_info_test.c:91 - Test App Info -> DataSize  = 0

from:

UtAssert_True(TestAppInfo.DataAddress > 0, "Test App Info -> DataAddress = %ld",
(unsigned long)TestAppInfo.DataAddress);
UtAssert_True(TestAppInfo.DataSize > 0, "Test App Info -> DataSize = %ld",
(unsigned long)TestAppInfo.DataSize);

Since there isn't anything in the Data section (no initialized non-const globals or local staic vars)

Describe the solution you'd like
Add a local static.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone Sep 16, 2021
@skliper skliper self-assigned this Sep 16, 2021
skliper added a commit to skliper/cFE that referenced this issue Sep 16, 2021
astrogeco added a commit that referenced this issue Sep 21, 2021
Fix #1955, Add static local to function test so data section is nonzero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant