Skip to content

Comments

Fix #1498, update ut_oscore_test.c#1499

Merged
dzbaker merged 1 commit intonasa:mainfrom
avan989:Fix-1498-UT_os_task_getid_by_sysdata_test-run-twice
Mar 27, 2025
Merged

Fix #1498, update ut_oscore_test.c#1499
dzbaker merged 1 commit intonasa:mainfrom
avan989:Fix-1498-UT_os_task_getid_by_sysdata_test-run-twice

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
dzbaker added a commit to nasa/cFS that referenced this pull request Mar 27, 2025
*Combines:*

cFE equuleus-rc1+dev239
osal equuleus-rc1+dev101
PSP equuleus-rc1+dev61

**Includes:**

*cFE*
- nasa/cFE#2643

*osal*
- nasa/osal#1495
- nasa/osal#1499

*PSP*
- nasa/PSP#448
- nasa/PSP#450

Co-authored by: Anh Van <[email protected]>
Co-authored by: Jose Martinez Pedraza <[email protected]>
dzbaker added a commit to nasa/cFS that referenced this pull request Mar 27, 2025
*Combines:*

cFE equuleus-rc1+dev239
osal equuleus-rc1+dev101
PSP equuleus-rc1+dev61

**Includes:**

*cFE*
- nasa/cFE#2643

*osal*
- nasa/osal#1495
- nasa/osal#1499
- nasa/osal#1504
- nasa/osal#1502

*PSP*
- nasa/PSP#448
- nasa/PSP#450

Co-authored by: Anh Van <[email protected]>
Co-authored by: Jose Martinez Pedraza <[email protected]>
@dzbaker dzbaker merged commit 7e771e5 into nasa:main Mar 27, 2025
19 checks passed
dzbaker added a commit to nasa/cFS that referenced this pull request Mar 27, 2025
*Combines:*

cFE equuleus-rc1+dev239
osal equuleus-rc1+dev101
PSP equuleus-rc1+dev61

**Includes:**

*cFE*
- nasa/cFE#2643

*osal*
- nasa/osal#1495
- nasa/osal#1499
- nasa/osal#1504
- nasa/osal#1502

*PSP*
- nasa/PSP#448
- nasa/PSP#450

Co-authored by: Anh Van <[email protected]>
Co-authored by: Jose Martinez Pedraza <[email protected]>
@dzbaker dzbaker added this to the v7.0.0 milestone Feb 12, 2026
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

3 participants