unix Makefile: easy wait to print test failures as diffs
This commit is contained in:
parent
798f6ec71f
commit
963a51487a
|
@ -309,6 +309,10 @@ test_full: $(PROG) $(TOP)/tests/run-tests.py
|
||||||
cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests.py --via-mpy $(RUN_TESTS_MPY_CROSS_FLAGS) --emit native -d basics float micropython
|
cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests.py --via-mpy $(RUN_TESTS_MPY_CROSS_FLAGS) --emit native -d basics float micropython
|
||||||
cat $(TOP)/tests/basics/0prelim.py | ./$(PROG) | grep -q 'abc'
|
cat $(TOP)/tests/basics/0prelim.py | ./$(PROG) | grep -q 'abc'
|
||||||
|
|
||||||
|
.PHONY: print-failures clean-failures
|
||||||
|
print-failures clean-failures:
|
||||||
|
../../tests/run-tests.py --$@
|
||||||
|
|
||||||
test_gcov: test_full
|
test_gcov: test_full
|
||||||
gcov -o $(BUILD)/py $(TOP)/py/*.c
|
gcov -o $(BUILD)/py $(TOP)/py/*.c
|
||||||
gcov -o $(BUILD)/extmod $(TOP)/extmod/*.c
|
gcov -o $(BUILD)/extmod $(TOP)/extmod/*.c
|
||||||
|
|
Loading…
Reference in New Issue