This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2c7c2dd4a761c1459c5f0aa66f1ddf61906cc799

commit 2c7c2dd4a761c1459c5f0aa66f1ddf61906cc799
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Nov 21 03:04:39 2022 +0100

    build: Fix coverage reports after code restructuring
    
    Fixes: commit affb86e43bdf72ed2b4deaa8b9fe13f313c58363
---
 Makefile.am           | 9 ++++++++-
 build-aux/lcov-inject | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 01d8b0786..2b6dd2ab9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -132,7 +132,14 @@ if COVERAGE_ENABLED
 LCOV_OPTS = --quiet --rc geninfo_checksum=1 --rc lcov_branch_coverage=1
 LCOV_CAPTURE_OPTS = $(LCOV_OPTS) --no-recursion \
        --directory $(top_builddir)/lib/dpkg \
-       --directory $(top_builddir)/src \
+       --directory $(top_builddir)/src/common \
+       --directory $(top_builddir)/src/deb \
+       --directory $(top_builddir)/src/split \
+       --directory $(top_builddir)/src/divert \
+       --directory $(top_builddir)/src/query \
+       --directory $(top_builddir)/src/trigger \
+       --directory $(top_builddir)/src/statoverride \
+       --directory $(top_builddir)/src/main \
        --directory $(top_builddir)/utils \
        # EOL
 LCOV_INJECT = $(PERL) -i $(top_srcdir)/build-aux/lcov-inject
diff --git a/build-aux/lcov-inject b/build-aux/lcov-inject
index da6bbe698..0329a6993 100755
--- a/build-aux/lcov-inject
+++ b/build-aux/lcov-inject
@@ -53,7 +53,7 @@ my $tmpl = sprintf '
    box_html($s->{total}), box_html($s->{subroutine}), box_html($s->{branch});
 
 while (<>) {
-    s/^(.*<td .*href="src\/index\.html">.*)$/$tmpl$1/;
+    s/^(.*<td .*href="utils\/index\.html">.*)$/$tmpl$1/;
     print;
 }
 

-- 
Dpkg.Org's dpkg

Reply via email to