Skip to content

Commit

Permalink
Merge pull request #1613 from jphickey/fix-1490-covtest-multi-source
Browse files Browse the repository at this point in the history
Fix #1490, allow multiple sources in add_cfe_coverage_test
  • Loading branch information
astrogeco authored Jun 15, 2021
2 parents 1ecd8b4 + 6dbd0ee commit 29be4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/arch_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function(add_cfe_coverage_test MODULE_NAME UNIT_NAME TESTCASE_SRC UT_SRCS)
# Compile the source unit(s) under test as a separate library
# This is done so that special coverage-specific compile flags can be used on these files
add_library(${OBJECT_TARGET} OBJECT
${UT_SRCS}
${UT_SRCS} ${ARGN}
)

# Apply the UT_COVERAGE_COMPILE_FLAGS to the units under test
Expand Down

0 comments on commit 29be4a2

Please sign in to comment.