Skip to content

Commit

Permalink
fix coverage log issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 15, 2024
1 parent 1e4498f commit fe146a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
CARGO_TARGET_DIR ?= target
COVERAGE_PROFRAW_DIR ?= ${CARGO_TARGET_DIR}/coverage
GRCOV_OUTPUT ?= coverage-report.info
GRCOV_EXCL_START = ^\s*((log::)?(trace|debug|info|warn|error)|(debug_)?assert(_eq|_ne|_error_eq))!\($$
GRCOV_EXCL_STOP = ^\s*\)(;)?$$
GRCOV_EXCL_LINE = \s*((log::)?(trace|debug|info|warn|error)|(debug_)?assert(_eq|_ne|_error_eq))!\(.*\)(;)?$$

.PHONY: clippy
clippy:
Expand Down Expand Up @@ -37,10 +34,6 @@ coverage-collect-data:
--ignore "/*" \
--ignore "*/tests/*" \
--ignore "*/tests.rs" \
--excl-br-start "${GRCOV_EXCL_START}" --excl-br-stop "${GRCOV_EXCL_STOP}" \
--excl-start "${GRCOV_EXCL_START}" --excl-stop "${GRCOV_EXCL_STOP}" \
--excl-br-line "${GRCOV_EXCL_LINE}" \
--excl-line "${GRCOV_EXCL_LINE}" \
-o "${GRCOV_OUTPUT}"

coverage-generate-report:
Expand Down

0 comments on commit fe146a9

Please sign in to comment.