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
1 changed files with 3 additions and 0 deletions

View File

@ -93,3 +93,6 @@ z_clean:
.PHONY: prj.conf
prj.conf: prj_base.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"