Skip to content

Commit 754e683

Browse files
committed
Call genhtml with --prefix option so local build paths don't appear in the
coverage output.
1 parent 98be3b4 commit 754e683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GNUmakefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.48 2008/09/05 12:11:17 petere Exp $
4+
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.49 2008/12/04 07:02:56 petere Exp $
55
#
66

77
subdir =
@@ -70,7 +70,7 @@ coverage:
7070
coverage-html: coverage
7171
rm -rf coverage
7272
mkdir coverage
73-
$(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 `find src/backend -name lcov.info -print`
73+
$(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 --prefix=$(abs_top_srcdir)/src `find src/backend -name lcov.info -print`
7474

7575
ifeq ($(enable_coverage),yes)
7676
clean distclean maintainer-clean: clean-coverage-local

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy