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

Add cFE Memory Manager API functional tests #811

Closed
skliper opened this issue Aug 18, 2020 · 2 comments · Fixed by #1607 or #1619
Closed

Add cFE Memory Manager API functional tests #811

skliper opened this issue Aug 18, 2020 · 2 comments · Fixed by #1607 or #1619
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Aug 18, 2020

Is your feature request related to a problem? Please describe.
Need open source functional tests for certifiability

Describe the solution you'd like
Add cFE Memory Manager API functional tests
– CFE_ES_PoolCreate - Initializes a memory pool created by an application while using a semaphore during
processing.
– CFE_ES_PoolCreateEx - Initializes a memory pool created by an application with application specified block
sizes.
– CFE_ES_PoolCreateNoSem - Initializes a memory pool created by an application without using a
semaphore during processing.
– CFE_ES_GetPoolBuf - Gets a buffer from the memory pool created by CFE_ES_PoolCreate or CFE_ES -
_PoolCreateNoSem.
– CFE_ES_PutPoolBuf - Releases a buffer from the memory pool that was previously allocated via CFE_E -
S_GetPoolBuf.
– CFE_ES_GetMemPoolStats - Extracts the statistics maintained by the memory pool software.
– CFE_ES_GetPoolBufInfo - Gets info on a buffer previously allocated via CFE_ES_GetPoolBuf.

Describe alternatives you've considered
N/A

Additional context
N/A

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone Aug 18, 2020
@jphickey
Copy link
Contributor

Question - should we consider finally implementing #56 as part of this? Consolidating this code would simplify functional testing (one set or routines to implement, instead of two) as well as helping out with #651. I had started implementing this a long time ago (CFE 6.5 timeframe) but never had the opportunity to finish/merge it, but it might still exist in one of my branches somewhere.

@skliper
Copy link
Contributor Author

skliper commented Aug 18, 2020

Yes. I'd think it would make sense to group all the mempool issues and resolve them. A couple of them are required in the next release either way, so might as well refactor while we are at it to make everything simpler.

@zanzaben zanzaben assigned zanzaben and unassigned zanzaben Apr 9, 2021
@zanzaben zanzaben self-assigned this May 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue May 20, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue May 20, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 4, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 9, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 10, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 10, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
zanzaben added a commit to zanzaben/cFE that referenced this issue Jun 15, 2021
astrogeco added a commit that referenced this issue Jun 15, 2021
…al_Tests

Fix #811, add Mempool functional tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants