src: update make for new code coverage locations
The files for code coverage are moving to the build repository. Update the references to reflect this. PR-URL: https://github.com/nodejs/node/pull/17987 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
33039871c9
commit
c91bd2f24f
4
Makefile
4
Makefile
@ -171,10 +171,10 @@ coverage-build: all
|
||||
if [ ! -d gcovr ]; then git clone --depth=1 \
|
||||
--single-branch git://github.com/gcovr/gcovr.git; fi
|
||||
if [ ! -d testing ]; then git clone --depth=1 \
|
||||
--single-branch https://github.com/nodejs/testing.git; fi
|
||||
--single-branch https://github.com/nodejs/build.git; fi
|
||||
if [ ! -f gcovr/scripts/gcovr.orig ]; then \
|
||||
(cd gcovr && patch -N -p1 < \
|
||||
"$(CURDIR)/testing/coverage/gcovr-patches.diff"); fi
|
||||
"$(CURDIR)/build/jenkins/scripts/coverage/gcovr-patches.diff"); fi
|
||||
if [ -d lib_ ]; then $(RM) -r lib; mv lib_ lib; fi
|
||||
mv lib lib_
|
||||
$(NODE) ./node_modules/.bin/nyc instrument --extension .js --extension .mjs lib_/ lib/
|
||||
|
Loading…
x
Reference in New Issue
Block a user