1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

makefiles: ignore negative errors for lcov

This commit is contained in:
Zdenek Kabelac 2024-03-25 14:34:39 +01:00
parent 75e532417e
commit 05993fd432

View File

@ -194,10 +194,10 @@ ifneq ("$(GENHTML)", "")
lcov:
$(RM) -rf $(LCOV_REPORTS_DIR)
$(MKDIR_P) $(LCOV_REPORTS_DIR)
$(LCOV) --capture --directory $(top_builddir) --ignore-errors source \
$(LCOV) --capture --directory $(top_builddir) --ignore-errors source,negative \
--output-file $(LCOV_REPORTS_DIR)/out.info
-test ! -s $(LCOV_REPORTS_DIR)/out.info || \
$(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source \
$(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source,negative \
$(LCOV_REPORTS_DIR)/out.info
endif