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

driazati 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 397ff562f6 [CI] Add setup-pytest-env.sh call to task_demo_microtvm.sh 
(#12260)
397ff562f6 is described below

commit 397ff562f658959262388648eeb52b327c3031eb
Author: Leandro Nunes <leandro.nu...@arm.com>
AuthorDate: Mon Aug 1 18:42:05 2022 +0100

    [CI] Add setup-pytest-env.sh call to task_demo_microtvm.sh (#12260)
    
    task_demo_microtvm.sh fails when running on a container because it can't 
find TVM. Adding a regular `source ...task_demo_microtvm.sh` will make the 
proper test environment setup.
    
    Co-Authored-By: Liam Sturge <liam.stu...@arm.com>
---
 tests/scripts/task_demo_microtvm.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/scripts/task_demo_microtvm.sh 
b/tests/scripts/task_demo_microtvm.sh
index 8a985c3e9d..8a79373fba 100755
--- a/tests/scripts/task_demo_microtvm.sh
+++ b/tests/scripts/task_demo_microtvm.sh
@@ -18,6 +18,8 @@
 
 set -euxo pipefail
 
+source tests/scripts/setup-pytest-env.sh
+
 pushd apps/microtvm/cmsisnn
  timeout 5m ./run_demo.sh
 popd

Reply via email to