Skip to content

Fix #780, Hex output for return checking ASSERTs#1121

Merged
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix780-assert_hex
Jan 27, 2021
Merged

Fix #780, Hex output for return checking ASSERTs#1121
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix780-assert_hex

Conversation

@skliper
Copy link
Contributor

@skliper skliper commented Jan 22, 2021

Describe the contribution
Fix #780 - SETUP/TEARDOWN/ASSERT now print 0x%lx and ASSERT_EQ prints both %lf and 0x%lx format for the inputs

Testing performed
Built and ran cfe-core_sb_UT and confirmed output as expected.

Expected behavior changes
More informative assert messages (often comparing error codes)

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this commit

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone Jan 22, 2021
@astrogeco astrogeco changed the base branch from main to integration-candidate January 27, 2021 22:06
@astrogeco astrogeco merged commit 54dffe8 into nasa:integration-candidate Jan 27, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Jan 27, 2021
astrogeco added a commit that referenced this pull request Feb 3, 2021
Fix #780, Hex output for return checking ASSERTs
@skliper skliper deleted the fix780-assert_hex branch March 23, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update assert_eq to print both decimal and hex

2 participants