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 #538, correct loop variable for coverage install #539

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Jul 9, 2020

Describe the contribution
Install use the loop variable (TGT) not TGTNAME for DESTINATION.

Fixes #538

Testing performed
Build with ENABLE_UNIT_TESTS=TRUE and a configuration with multiple CPUs sharing a single arch+platform config.

Expected behavior changes
Without this fix, the coverage binaries are installed twice to CPU2 but not at all for CPU1.
With this fix, they are correctly installed for CPU1 and CPU2.

System(s) tested on
Ubuntu 20.04

Additional context
No change to behavior at all - just an install path fix.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Should use the loop variable (TGT) not TGTNAME.
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Jul 9, 2020
@astrogeco
Copy link
Contributor

CCB-20200715 APPROVED

@astrogeco astrogeco changed the base branch from master to integration-candidate July 15, 2020 18:36
@astrogeco astrogeco merged commit 7863b0d into nasa:integration-candidate Jul 15, 2020
@astrogeco astrogeco removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Aug 18, 2020
@skliper skliper added this to the 5.1.0 milestone Aug 21, 2020
@jphickey jphickey deleted the fix-538-coverage-install-loopvar branch December 3, 2020 17:26
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix issue regarding inclusion of cfe_platform_cfg.h when
multiple CPUs are in use.  Also fix for duplicate name
collision where different configs exist within the same
arch.
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix nasa#539, build failure in UT stubs with multiple CPUs
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.

Incorrect install/staging location for coverage test binaries
4 participants