summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-03-07 22:52:07 +1100
committerDamien George <damien.p.george@gmail.com>2019-03-08 16:51:09 +1100
commitc6a9bb23cd3ad4ae5f6cabfcd1952f39d46bce94 (patch)
tree266ba74bdb233c756b1a96e955198c98856bd8b8
parent6e11d8631821d7e8bf7c6b1feab11b83f2a8577a (diff)
unix/Makefile: Update coverage tests to match those in Travis.
-rw-r--r--ports/unix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index be45513c3..41552bf5c 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -258,7 +258,8 @@ coverage_test: coverage
cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests
cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests -d thread
cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --emit native
- cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --via-mpy -d basics float
+ cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --via-mpy -d basics float micropython
+ cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --via-mpy --emit native -d basics float micropython
cat $(TOP)/tests/basics/0prelim.py | ./micropython_coverage | grep -q 'abc'
gcov -o build-coverage/py $(TOP)/py/*.c
gcov -o build-coverage/extmod $(TOP)/extmod/*.c