You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2021/05/03 18:24:50 UTC

[tvm] branch main updated: [µTVM]: Zephyr: Add mps2_an521 board to the CI (#7914)

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 01252d0  [µTVM]: Zephyr: Add mps2_an521 board to the CI (#7914)
01252d0 is described below

commit 01252d0e48534a6b9b1ce53d6ed59bf177647f36
Author: Gustavo Romero <gr...@users.noreply.github.com>
AuthorDate: Mon May 3 15:24:28 2021 -0300

    [µTVM]: Zephyr: Add mps2_an521 board to the CI (#7914)
    
    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 <gu...@linaro.org>
---
 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 7233718..aa49d90 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