From efa206d955cb5482b604ba650a1af56f609e16bd Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Thu, 22 Dec 2016 11:28:29 +1100
Subject: [PATCH] unix/Makefile: Make "coverage_test" target mirror Travis test
 actions.

---
 unix/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/unix/Makefile b/unix/Makefile
index 15829f284..ff9e3bc3f 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -243,7 +243,9 @@ coverage:
 coverage_test: coverage
 	$(eval DIRNAME=$(notdir $(CURDIR)))
 	cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests
+	cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests -d thread
 	cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --emit native
+	cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/micropython_coverage ./run-tests --via-mpy -d basics float
 	gcov -o build-coverage/py ../py/*.c
 	gcov -o build-coverage/extmod ../extmod/*.c
 
-- 
GitLab