mirror of
https://github.com/mirror/wget.git
synced 2024-12-26 12:50:44 +08:00
* Makefile.am: Ignore some lcov errors, allowing the tests to run through
This commit is contained in:
parent
84a75ace88
commit
0e0cdc2409
@ -92,8 +92,8 @@ check-coverage: clean clean-lcov
|
||||
lcov --capture --initial --directory src/ --output-file $(LCOV_INFO)
|
||||
$(MAKE) CFLAGS="$(CFLAGS) --coverage" LDFLAGS="$(LDFLAGS) --coverage" VALGRIND_TESTS=0 check
|
||||
lcov --capture --directory src/ --output-file $(LCOV_INFO)
|
||||
lcov --remove $(LCOV_INFO) '/usr/include/*' '*/lib/*' -o $(LCOV_INFO)
|
||||
genhtml --prefix . --ignore-errors source $(LCOV_INFO) --legend --title "Wget" --output-directory=lcov
|
||||
lcov --remove $(LCOV_INFO) --ignore-errors unused '/usr/include/*' '*/lib/*' -o $(LCOV_INFO)
|
||||
genhtml --prefix . --ignore-errors source --ignore-errors unmapped $(LCOV_INFO) --legend --title "Wget" --output-directory=lcov
|
||||
@echo
|
||||
@echo "You can now view the coverage report with 'xdg-open lcov/index.html'"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user