File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ release:
145
145
146
146
coverage :
147
147
$(MAKE ) clean
148
- COVERAGEFLAGS=" -fprofile-arcs -ftest-coverage" LDFLAGS+=" -lgcov" $(MAKE ) all check
148
+ COVERAGEFLAGS=" -fprofile-arcs -ftest-coverage" LDFLAGS+=" -lgcov" $(MAKE ) all check -j32
149
149
(cd coverage; ./coverage_test.sh)
150
150
# Delete intermediate files
151
151
find . -type f -regex " .*\.\(\(gcda\)\|\(gcno\)\)" -exec rm {} \;
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ $GCOV --preserve-paths --relative-only --no-output $GCNO_FILES 2>/dev/null |
44
44
tee -a $RECENT_REPORT &&
45
45
echo -e " Generated coverage report for recently updated files: $RECENT_REPORT \n"
46
46
47
+ # Unless otherwise specified, we'll not generate html report by default
48
+ if [ -z " $HTML " ]; then
49
+ exit 0
50
+ fi
51
+
47
52
# Generate the html report. If we cannot find lcov in this machine, we'll simply
48
53
# skip this step.
49
54
echo " Generating the html coverage report..."
You can’t perform that action at this time.
0 commit comments