Skip to content

Commit c4a69c7

Browse files
committed
unix: Enable btree module for coverage build.
1 parent 6c79980 commit c4a69c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

unix/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,8 @@ freedos:
262262
MICROPY_PY_JNI=0
263263

264264
# build an interpreter for coverage testing and do the testing
265-
# btree module is disabled, because with extra warnings enabled,
266-
# building berkeleydb errors out
267265
coverage:
268-
$(MAKE) COPT="-O0" MICROPY_PY_BTREE=0 CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
266+
$(MAKE) COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
269267

270268
coverage_test: coverage
271269
$(eval DIRNAME=$(notdir $(CURDIR)))

0 commit comments

Comments
 (0)