Skip to content

Commit 87e3d3d

Browse files
mhdawsonevanlucas
authored andcommitted
src: fix code coverage cleanup
In #17987 which updated the location of the code coverage patches I missed a few changes needed to properly clean up for code coverage. Add these. PR-URL: #18081 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 15aaf18 commit 87e3d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ check: test
145145
coverage-clean:
146146
if [ -d lib_ ]; then $(RM) -r lib; mv lib_ lib; fi
147147
$(RM) -r node_modules
148-
$(RM) -r gcovr testing
148+
$(RM) -r gcovr build
149149
$(RM) -r out/$(BUILDTYPE)/.coverage
150150
$(RM) -r .cov_tmp
151151
$(RM) out/$(BUILDTYPE)/obj.target/node/{src,gen}/*.gcda
@@ -172,7 +172,7 @@ coverage-build: all
172172
$(NODE) ./deps/npm install nyc --no-save --no-package-lock; fi
173173
if [ ! -d gcovr ]; then git clone --depth=1 \
174174
--single-branch git://github.com/gcovr/gcovr.git; fi
175-
if [ ! -d testing ]; then git clone --depth=1 \
175+
if [ ! -d build ]; then git clone --depth=1 \
176176
--single-branch https://github.com/nodejs/build.git; fi
177177
if [ ! -f gcovr/scripts/gcovr.orig ]; then \
178178
(cd gcovr && patch -N -p1 < \

0 commit comments

Comments
 (0)