Commit 44d80c5 1 parent 4d5cd5c commit 44d80c5 Copy full SHA for 44d80c5
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ coverage-build: all
176
176
--single-branch git://github.com/gcovr/gcovr.git; fi
177
177
if [ ! -d build ]; then git clone --depth=1 \
178
178
--single-branch https://github.com/nodejs/build.git; fi
179
- if [ ! -f gcovr/scripts/ gcovr.orig ]; then \
180
- (cd gcovr && patch -N -p1 < \
179
+ if [ ! -f gcovr/gcovr/gcov.py .orig ]; then \
180
+ (cd gcovr && patch -b - N -p1 < \
181
181
" $( CURDIR) /build/jenkins/scripts/coverage/gcovr-patches.diff" ); fi
182
182
if [ -d lib_ ]; then $( RM) -r lib; mv lib_ lib; fi
183
183
mv lib lib_
@@ -203,7 +203,7 @@ coverage-test: coverage-build
203
203
(cd lib && .$( NODE) ../node_modules/.bin/nyc report \
204
204
--temp-directory " $( CURDIR) /.cov_tmp" \
205
205
--report-dir " ../coverage" )
206
- -(cd out && " .. /gcovr/scripts/ gcovr" --gcov-exclude=' .*deps' \
206
+ -(cd out && PYTHONPATH= $( CURDIR ) /gcovr $( PYTHON ) -m gcovr --gcov-exclude=' .*deps' \
207
207
--gcov-exclude=' .*usr' -v -r Release/obj.target \
208
208
--html --html-detail -o ../coverage/cxxcoverage.html \
209
209
--gcov-executable=" $( GCOV) " )
You can’t perform that action at this time.
0 commit comments