Skip to content

Update UT entry point to correspond with OSAL/UT Assert change#436

Merged
skliper merged 2 commits intonasa:merge-20200108from
jphickey:fix-435-ut-entry-point
Jan 10, 2020
Merged

Update UT entry point to correspond with OSAL/UT Assert change#436
skliper merged 2 commits intonasa:merge-20200108from
jphickey:fix-435-ut-entry-point

Conversation

@jphickey
Copy link
Contributor

@jphickey jphickey commented Dec 18, 2019

Describe the contribution

Use UtTest_Setup instead of OS_Application_Startup as the entry point function for test applications.

This needs to be merged in coordination with a related change in OSAL/UT Assert. This also updates the UT application final link to use "ut_assert" rather than "ut_bsp", as the separate bsp for unit test is also getting phased out.

Testing performed
Build CFE for all supported platforms (native Linux, RTEMS, VxWorks) in conjunction with related OSAL pull request and confirm unit test build and run successfully

Expected behavior changes
No change to behavior

System(s) tested on:
Ubuntu 18.04 LTS 64 bit

Additional context
Needs to be merged in coordination with nasa/osal#294

Contributor Info
Joseph Hickey, Vantage Systems, Inc.

Community contributors
You must attach a signed CLA (required for acceptance) or reference one already submitted

Use "UtTest_Setup" instead of "OS_Application_Startup"

This needs to be merged in coordination with a related change
in OSAL/UT Assert.  This also updates the UT application final
link to use "ut_assert" rather than "ut_bsp", as the separate
bsp for unit test is also getting phased out.
@skliper skliper added this to the 6.8.0 milestone Dec 30, 2019
@skliper skliper added the CCB:Approved Indicates code review and approval by community CCB label Jan 10, 2020
@skliper
Copy link
Contributor

skliper commented Jan 10, 2020

CCB 20190108 - Reviewed and approved for integration candidate

@skliper skliper changed the base branch from master to merge-20200108 January 10, 2020 15:12
@skliper skliper merged commit 08dd3fa into nasa:merge-20200108 Jan 10, 2020
skliper pushed a commit that referenced this pull request Jan 10, 2020
Fix #259 #425 #427 #435 #437 #438 #443 #445
Reviewed and approved at 2020-01-08 CCB
skliper pushed a commit that referenced this pull request Jan 14, 2020
Fix #435: Update UT entry point
Resolve merge conflicts in fsw/cfe-core/unit-test/CMakeLists.txt
@jphickey jphickey deleted the fix-435-ut-entry-point branch October 14, 2020 03:30
@skliper skliper linked an issue Sep 24, 2021 that may be closed by this pull request
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 enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use "UtTest_Setup" as name of entry point for unit tests

2 participants