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

Fix #1498, update ut_oscore_test.c #1499

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

avan989
Copy link
Contributor

@avan989 avan989 commented Mar 18, 2025

Fix #1498, update ut_oscore_test.c to run OS_TaskFindIdBySystemData only once

Checklist (Please check before submitting)

Describe the contribution
A clear and concise description of what the contribution is.
Fix #1498, update ut_oscore_test.c to run OS_TaskFindIdBySystemData only once

[BEGIN] 43 OS_TaskFindIdBySystemData
[ PASS] 43.001 ut_oscore_task_test.c:621 - OS_TaskFindIdBySystemData(NULL, &sysdata, sizeof(sysdata)) (-2) == OS_INVALID_POINTER (-2)
[ PASS] 43.002 ut_oscore_task_test.c:622 - OS_TaskFindIdBySystemData(&task_id, NULL, sizeof(sysdata)) (-2) == OS_INVALID_POINTER (-2)
[ PASS] 43.003 ut_oscore_task_test.c:623 - OS_TaskFindIdBySystemData(&task_id, &sysdata, 0) (-2) == OS_INVALID_POINTER (-2)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 43 OS_TaskFindIdBySystemData TOTAL::3     PASS::3     FAIL::0     MIR::0     TSF::0     TTF::0   

Testing performed
Steps taken to test the contribution:

  1. make ENABLE_UNIT_TESTS=true install
  2. run osal_core_UT

Expected behavior changes
A clear and concise description of how this contribution will change behavior and level of impact.

  • API Change: xxx (if applicable)
  • Behavior Change: xxx (if applicable)
  • Or no impact to behavior

System(s) tested on

  • Hardware: [e.g. PC, SP0, MCP750]
  • OS: [e.g. Ubuntu 18.04, RTEMS 4.11, VxWorks 6.9]
  • Versions: [e.g. cFE 6.6, OSAL 4.2, PSP 1.3 for mcp750, any related apps or tools]

Additional context
Add any other context about the contribution here.

Third party code
If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request
Full name and company/organization/center of all contributors ("Personal" if individual work)

  • Note CLAs apply to only software contributions.

Anh Van, GSFC

Fix nasa#1498, update ut_oscore_test.c to run OS_TaskFindIdBySystemData only once
@dzbaker dzbaker added the CCB:Approved Indicates code review and approval by community CCB label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UT_os_task_getid_by_sysdata_test executed twice
2 participants