This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 0cfda17 [CI] fix Python dependency required by cpp tests to work
standalone (#6639)
0cfda17 is described below
commit 0cfda17611052603151a69fe7187f801588373da
Author: Leandro Nunes <[email protected]>
AuthorDate: Wed Oct 7 00:45:10 2020 +0100
[CI] fix Python dependency required by cpp tests to work standalone (#6639)
---
tests/scripts/task_cpp_unittest.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/scripts/task_cpp_unittest.sh
b/tests/scripts/task_cpp_unittest.sh
index db68d9f..7905755 100755
--- a/tests/scripts/task_cpp_unittest.sh
+++ b/tests/scripts/task_cpp_unittest.sh
@@ -19,6 +19,9 @@
set -e
set -u
+# Python is required by apps/bundle_deploy
+source tests/scripts/setup-pytest-env.sh
+
export LD_LIBRARY_PATH="lib:${LD_LIBRARY_PATH:-}"
# NOTE: important to use abspath, when VTA is enabled.
export VTA_HW_PATH=`pwd`/3rdparty/vta-hw