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

Integration Candidate: 2020-09-16 #891

Merged
merged 9 commits into from
Sep 22, 2020
Prev Previous commit
Next Next commit
Fix #881, Install unit test to target directory
skliper committed Sep 11, 2020
commit 54449dba0801108d61b75036090b49d82ca580f6
4 changes: 2 additions & 2 deletions fsw/cfe-core/unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -74,9 +74,9 @@ foreach(MODULE ${CFE_CORE_MODULES})
ut_assert)

add_test(${UT_TARGET_NAME}_UT ${UT_TARGET_NAME}_UT)
foreach(TGTNAME ${TGTSYS_${SYSVAR}})
foreach(TGTNAME ${INSTALL_TARGET_LIST})
install(TARGETS ${UT_TARGET_NAME}_UT DESTINATION ${TGTNAME}/${UT_INSTALL_SUBDIR})
endforeach(TGTNAME ${TGTSYS_${SYSVAR}})
endforeach(TGTNAME ${INSTALL_TARGET_LIST})
endforeach(MODULE ${CFE_CORE_MODULES})

# Generate the FS test input files
4 changes: 3 additions & 1 deletion modules/msg/unit-test-coverage/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -60,4 +60,6 @@ target_link_libraries(${DEP}_UT
ut_assert)

add_test(${DEP}_UT ${DEP}_UT)
install(TARGETS ${DEP}_UT DESTINATION ${TGTNAME}/${UT_INSTALL_SUBDIR})
foreach(TGT ${INSTALL_TARGET_LIST})
install(TARGETS ${DEP}_UT DESTINATION ${TGT}/${UT_INSTALL_SUBDIR})
endforeach()