zephyr/Makefile: Add "test" target, runs testsuite in QEMU.

This commit is contained in:
Paul Sokolovsky 2017-04-05 00:37:35 +03:00
parent 647e72ca63
commit a9e6f08adb

View File

@ -93,3 +93,6 @@ z_clean:
.PHONY: prj.conf .PHONY: prj.conf
prj.conf: prj_base.conf prj.conf: prj_base.conf
$(PYTHON) makeprj.py prj_base.conf prj_$(BOARD).conf $@ $(PYTHON) makeprj.py prj_base.conf prj_$(BOARD).conf $@
test:
cd ../tests && ./run-tests --target minimal --device "execpty:make -C ../zephyr run BOARD=$(BOARD) QEMU_PTY=1"