You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been using this to test code coverage over the last week, and I noticed this morning that some updates to gcovr have broken node-core-coverage in two ways.
Firstly the changes in gcovr's script/gcovr mean that the last part of the gcovr-patches.diff file, i.e
@@ -2155,6 +2158,7 @@ if options.root is not None:
else:
root_dir = starting_dir
options.root_filter = re.compile(re.escape(root_dir + os.sep))
+ starting_dir = root_dir
for i in range(0, len(options.filter)):
options.filter[i] = re.compile(options.filter[i])
Fail to apply, although I've run coverage.sh without this part of the patch file, and it appears to run through without a problem.
Secondly, the grep line for gathering c++ coverage -
Which in turn writes the wrong format out to out/index.csv and causes generate-index-html.py to fall over. I fixed this locally by replacing the code with -
I've also been testing by passing in the branch I wanted to run the coverage tests on, rather than just cloning the latest master. I wondered if you were open to having this sort of option in the code ?
The text was updated successfully, but these errors were encountered:
Hi! Yeah, I’ve been noticing. This is broken with Node’s master right now anyway because there’s ES6 syntax in it that istanbul doesn’t quite understand, so I’m looking into upgrading everything today.
The gcovr-patches.diff bit that doesn’t apply… yeah, it’s weird. I have no idea why I did that in the first place, it doesn’t seem to make sense at all?
I’ll try to get everything fixed again today, but feel completely free to PR against this repo!
I wondered if you were open to having this sort of option in the code ?
We've been using this to test code coverage over the last week, and I noticed this morning that some updates to gcovr have broken node-core-coverage in two ways.
Firstly the changes in gcovr's script/gcovr mean that the last part of the gcovr-patches.diff file, i.e
Fail to apply, although I've run coverage.sh without this part of the patch file, and it appears to run through without a problem.
Secondly, the grep line for gathering c++ coverage -
Runs into a problem as it now picks up part of the background colour from the CSS. i.e from the line -
<td class="headerTableEntry" style="background-color:#FFFF55">84.2 %</td>
we get (back from the grep) -
Which in turn writes the wrong format out to out/index.csv and causes generate-index-html.py to fall over. I fixed this locally by replacing the code with -
I've also been testing by passing in the branch I wanted to run the coverage tests on, rather than just cloning the latest master. I wondered if you were open to having this sort of option in the code ?
The text was updated successfully, but these errors were encountered: