From d496adc7dc6e52d4f638166306505351b2c6188c Mon Sep 17 00:00:00 2001 From: Gustavo Romero Date: Mon, 3 May 2021 15:24:28 -0300 Subject: [PATCH] =?UTF-8?q?[=C2=B5TVM]:=20Zephyr:=20Add=20mps2=5Fan521=20b?= =?UTF-8?q?oard=20to=20the=20CI=20(#7914)?= 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