diff --git a/Makefile.in b/Makefile.in index 4e9fd3d61..9d579150d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -710,16 +710,21 @@ coverage-combine: $(COVERAGE_DIR)/verilator.info .PHONY: coverage-report coverage-report: @$(MAKE) --no-print-directory $(COVERAGE_DIR)/report/index.html || true - @echo "####################################################################" @if [ -f $(COVERAGE_DIR)/report/index.html ]; then \ + echo "####################################################################"; \ echo "# Coverage report is at: $(COVERAGE_DIR)/report/index.html"; \ echo "# Use 'make coverage-view' to open it in your default browser"; \ + echo "####################################################################"; \ elif [ -f $(COVERAGE_DIR)/empty-patch ]; then\ + echo "####################################################################"; \ echo "# Patch is empty"; \ + echo "####################################################################"; \ else \ - echo "# Failed to create coverage report. Maybe there is no data?"; \ + echo "####################################################################"; \ + echo "# Failed to create coverage report. Maybe no data, or error?"; \ + echo "####################################################################"; \ + false; \ fi - @echo "####################################################################" # Open covarage report in default web browser .PHONY: coverage-view diff --git a/src/V3DfgCse.cpp b/src/V3DfgCse.cpp index f7e568c19..058eead25 100644 --- a/src/V3DfgCse.cpp +++ b/src/V3DfgCse.cpp @@ -46,7 +46,7 @@ class V3DfgCse final { static V3Hash vertexSelfHash(const DfgVertex& vtx) { switch (vtx.type()) { // Unhandled vertices - case VDfgType::Logic: // LCOV_EXCL_LINE + case VDfgType::Logic: // LCOV_EXCL_START case VDfgType::Unresolved: // LCOV_EXCL_STOP vtx.v3fatalSrc("Should not have reached CSE");