-
Notifications
You must be signed in to change notification settings - Fork 253
Description
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
osal/src/unit-test-coverage/CMakeLists.txt
Lines 86 to 89 in 80fdd67
| 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.
Reactions are currently unavailable