Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c4a69c75
Commit
c4a69c75
authored
Sep 22, 2016
by
Damien George
Browse files
unix: Enable btree module for coverage build.
parent
6c79980b
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/Makefile
View file @
c4a69c75
...
...
@@ -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)
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment