mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 00:02:16 -04:00
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 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:
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user