summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-09-22 11:10:11 +1000
committerDamien George <damien.p.george@gmail.com>2016-09-22 11:10:11 +1000
commitc4a69c75a5b428db3340d55a91d3c9d0880cadfd (patch)
tree4eaf693f74b3ab705765fee28a8d5709714ca613 /unix
parent6c79980b0e83d774ad9c8bdf2f938af8bfbc7793 (diff)
downloadmicropython-c4a69c75a5b428db3340d55a91d3c9d0880cadfd.tar.gz
micropython-c4a69c75a5b428db3340d55a91d3c9d0880cadfd.zip
unix: Enable btree module for coverage build.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 956b1daef3..4a313b3a80 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -262,10 +262,8 @@ freedos:
MICROPY_PY_JNI=0
# build an interpreter for coverage testing and do the testing
-# btree module is disabled, because with extra warnings enabled,
-# building berkeleydb errors out
coverage:
- $(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
+ $(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
coverage_test: coverage
$(eval DIRNAME=$(notdir $(CURDIR)))