Skip to content

Commit f577cb8

Browse files
killagumhdawson
authored andcommitted
jenkins: fix coverage gcovr patches
PR-URL: #1145 Ref: nodejs/node#18938 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: MichaëZasso <[email protected]>
1 parent 5d111de commit f577cb8

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
1-
diff --git a/scripts/gcovr b/scripts/gcovr
2-
index 034779c86d29..e68b239c424f 100755
3-
--- a/scripts/gcovr
4-
+++ b/scripts/gcovr
5-
@@ -496,7 +496,7 @@ def process_gcov_data(data_fname, covdata, options):
1+
diff --git a/gcovr/gcov.py b/gcovr/gcov.py
2+
index f30215a..7fb0db2 100644
3+
--- a/gcovr/gcov.py
4+
+++ b/gcovr/gcov.py
5+
@@ -156,7 +156,7 @@ def process_gcov_data(data_fname, covdata, source_fname, options):
66
if filtered_fname is None:
77
if options.verbose:
88
sys.stdout.write(" Filtering coverage data for file %s\n" % fname)
99
- return
10-
+ #return
10+
+ # return
1111
#
1212
# Return if the filename matches the exclude pattern
1313
#
14-
@@ -2141,6 +2141,9 @@ if options.objdir:
15-
for i in range(0, len(options.exclude)):
16-
options.exclude[i] = re.compile(options.exclude[i])
17-
18-
+if options.output is not None:
19-
+ options.output = os.path.abspath(options.output)
20-
+
21-
if options.root is not None:
22-
if not options.root:
23-
sys.stderr.write(

0 commit comments

Comments
 (0)