From a9e6f08adb6dbe84ee59e9545895aa9dfc5ade17 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 5 Apr 2017 00:37:35 +0300 Subject: [PATCH] zephyr/Makefile: Add "test" target, runs testsuite in QEMU. --- zephyr/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zephyr/Makefile b/zephyr/Makefile index b78b4be95f..057a888627 100644 --- a/zephyr/Makefile +++ b/zephyr/Makefile @@ -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"