mirror of https://github.com/djcb/mu.git
build: improve 'coverage' target
Ensure we compile everything first.
This commit is contained in:
parent
e8462e0204
commit
5efd0a61aa
3
Makefile
3
Makefile
|
@ -116,8 +116,9 @@ $(BUILDDIR_COVERAGE):
|
|||
|
||||
covfile:=$(BUILDDIR_COVERAGE)/meson-logs/coverage.info
|
||||
|
||||
# generate by hand, meson's built-ins are unflexible
|
||||
# generate by hand, meson's built-ins are rather inflexible
|
||||
coverage: $(BUILDDIR_COVERAGE)
|
||||
@$(MESON) compile -C $(BUILDDIR_COVERAGE)
|
||||
@$(MESON) test -C $(BUILDDIR_COVERAGE) $(VERBOSE)
|
||||
$(LCOV) --capture --directory . --output-file $(covfile)
|
||||
@$(LCOV) --remove $(covfile) '/usr/*' '*guile*' '*thirdparty*' '*/tests/*' '*mime-object*' --output $(covfile)
|
||||
|
|
Loading…
Reference in New Issue