Skip to content

Incorrect install/staging location for coverage test binaries #538

@jphickey

Description

@jphickey

Describe the bug
Typo in cmake file - the loop variable when installing coverage binaries is TGT but the DESTINATION refers to TGTNAME.

To Reproduce
Build with multiple CPUs sharing the same target+platform config.

Expected behavior
Binaries should be installed for everything in INSTALL_TARGET_LIST.

Code snips

foreach(TGT ${INSTALL_TARGET_LIST})
install(TARGETS ${TESTNAME}-testrunner DESTINATION ${TGTNAME}/${UT_INSTALL_SUBDIR})
endforeach()

System observed on:
Ubuntu 20.04

Additional context
The CFE scripts also do set TGTNAME in other places so it by chance had a leftover value that happened to be the same thing, and therefore this wouldn't be noticed when building for a single target (the default case).

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions