File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ script:
5858 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native)
5959 - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy -d basics float)
6060
61+ # test when input script comes from stdin
62+ - cat tests/basics/0prelim.py | ports/unix/micropython_coverage | grep -q 'abc'
63+
6164 # run coveralls coverage analysis (try to, even if some builds/tests failed)
6265 - (cd ports/unix && coveralls --root ../.. --build-root . --gcov $(which gcov) --gcov-options '\-o build-coverage/' --include py --include extmod)
6366
Original file line number Diff line number Diff line change @@ -258,6 +258,7 @@ coverage_test: coverage
258258 cd $(TOP ) /tests && MICROPY_MICROPYTHON=../$(DIRNAME ) /micropython_coverage ./run-tests -d thread
259259 cd $(TOP ) /tests && MICROPY_MICROPYTHON=../$(DIRNAME ) /micropython_coverage ./run-tests --emit native
260260 cd $(TOP ) /tests && MICROPY_MICROPYTHON=../$(DIRNAME ) /micropython_coverage ./run-tests --via-mpy -d basics float
261+ cat $(TOP ) /tests/basics/0prelim.py | ./micropython_coverage | grep -q ' abc'
261262 gcov -o build-coverage/py $(TOP ) /py/* .c
262263 gcov -o build-coverage/extmod $(TOP ) /extmod/* .c
263264
You can’t perform that action at this time.
0 commit comments