From 284c2a8484a5b394a3399aa05f035c031dc8b3ba Mon Sep 17 00:00:00 2001 From: Gustavo Romero Date: Fri, 16 Apr 2021 23:02:03 +0000 Subject: [PATCH] =?UTF-8?q?[=C2=B5TVM]:=20Zephyr:=20Add=20mps2=5Fan521=20b?= =?UTF-8?q?oard=20to=20the=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Arm reference board mps2_an521 is now added as a test platform to test µTVM with Zephyr and that test platform runs by default emulated, plus Zephyr docker images were updated to use Zephyr v2.5-branch, add the mps2_an521 board as a platform to be automatically used by the CI. That change will allow testing µTVM on top of Zephyr running on a Cortex-m33 MCU. Currently only a x86 VM is used for that kind of test. Hence it will help ensure that there is no regression on Arm-based MCUs. That commit also adds explicitly the parameter --microtvm-platforms=host to the current x86 test for ease of reading on which test platforms are triggered in the CI ('host' is the default platform when that parameter is ommited, so nothing changes for tests on the x86 VM). Signed-off-by: Gustavo Romero --- tests/scripts/task_python_microtvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/task_python_microtvm.sh b/tests/scripts/task_python_microtvm.sh index 7233718e125c..aa49d90eaa43 100755 --- a/tests/scripts/task_python_microtvm.sh +++ b/tests/scripts/task_python_microtvm.sh @@ -23,4 +23,5 @@ set -x # NOTE(areusch): Adding to diagnose flaky timeouts source tests/scripts/setup-pytest-env.sh make cython3 -run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr +run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr --microtvm-platforms=host +run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr --microtvm-platforms=mps2_an521