unix/Makefile: Make "coverage_test" target mirror Travis test actions.

pull/2522/merge
Damien George 2016-12-22 11:28:29 +11:00
rodzic 97f3797b82
commit efa206d955
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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