Commit 754e6833 authored by Peter Eisentraut's avatar Peter Eisentraut

Call genhtml with --prefix option so local build paths don't appear in the

coverage output.
parent 98be3b49
# #
# PostgreSQL top level makefile # PostgreSQL top level makefile
# #
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.48 2008/09/05 12:11:17 petere Exp $ # $PostgreSQL: pgsql/GNUmakefile.in,v 1.49 2008/12/04 07:02:56 petere Exp $
# #
subdir = subdir =
...@@ -70,7 +70,7 @@ coverage: ...@@ -70,7 +70,7 @@ coverage:
coverage-html: coverage coverage-html: coverage
rm -rf coverage rm -rf coverage
mkdir coverage mkdir coverage
$(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 `find src/backend -name lcov.info -print` $(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 --prefix=$(abs_top_srcdir)/src `find src/backend -name lcov.info -print`
ifeq ($(enable_coverage),yes) ifeq ($(enable_coverage),yes)
clean distclean maintainer-clean: clean-coverage-local clean distclean maintainer-clean: clean-coverage-local
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment