Call genhtml with --prefix option so local build paths don't appear in the
coverage output.
This commit is contained in:
parent
98be3b49be
commit
754e6833ee
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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 =
|
||||
@ -70,7 +70,7 @@ coverage:
|
||||
coverage-html: coverage
|
||||
rm -rf 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)
|
||||
clean distclean maintainer-clean: clean-coverage-local
|
||||
|
Loading…
Reference in New Issue
Block a user