[master] b97517728 More gcov fixes

Poul-Henning Kamp phk at FreeBSD.org
Mon Oct 31 12:05:07 UTC 2022


commit b97517728bdc709ec59bc727aeae7dad03f7b89e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 31 12:04:37 2022 +0000

    More gcov fixes

diff --git a/tools/gcov_digest.py b/tools/gcov_digest.py
index 17ce3da08..eb6fa58c3 100644
--- a/tools/gcov_digest.py
+++ b/tools/gcov_digest.py
@@ -131,8 +131,9 @@ def run_gcov(prog, subdir):
                     continue
                 if ln[0].find("reating") != -1:
                     gn = root + rpath + ln[1].strip("'")
+                    gn = os.path.normpath(gn)
                     assert gn[-5:] == ".gcov"
-                    sn = root + rpath + gn[:-5]
+                    sn = gn[:-5]
                     process_gcov(gn, sn)
 
 def produce_output(fdo):


More information about the varnish-commit mailing list