Skip to content

Commit

Permalink
Fix "mismatched end line" error for function definitions in macros
Browse files Browse the repository at this point in the history
  • Loading branch information
belijzajac committed Jun 3, 2024
1 parent dc329f6 commit e3f7bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/CodeCoverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function(setup_target_for_coverage_lcov)
# Create baseline to make sure untouched files show up in the report
set(LCOV_BASELINE_CMD
${LCOV_PATH} ${Coverage_LCOV_ARGS} --gcov-tool ${GCOV_PATH} -c -i -d . -b
${BASEDIR} -o ${Coverage_NAME}.base
${BASEDIR} -o ${Coverage_NAME}.base --ignore-errors inconsistent,usage,count --rc max_message_count=1
)
# Run tests
set(LCOV_EXEC_TESTS_CMD
Expand All @@ -270,7 +270,7 @@ function(setup_target_for_coverage_lcov)
# Capturing lcov counters and generating report
set(LCOV_CAPTURE_CMD
${LCOV_PATH} ${Coverage_LCOV_ARGS} --gcov-tool ${GCOV_PATH} --directory . -b
${BASEDIR} --capture --output-file ${Coverage_NAME}.capture
${BASEDIR} --capture --output-file ${Coverage_NAME}.capture --ignore-errors inconsistent,usage,count --rc max_message_count=1
)
# add baseline counters
set(LCOV_BASELINE_COUNT_CMD
Expand Down

0 comments on commit e3f7bba

Please sign in to comment.