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

areusch pushed a commit to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit d7a4a72ed4d7faa99b977d3813ffc337159c7870
Author: Andrew Reusch <[email protected]>
AuthorDate: Mon Aug 16 11:41:25 2021 -0700

    inject some failures to see how it looks
---
 tests/micro/zephyr/test_zephyr.py | 1 +
 tests/python/unittest/test_crt.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/micro/zephyr/test_zephyr.py 
b/tests/micro/zephyr/test_zephyr.py
index d33033d..a92f606 100644
--- a/tests/micro/zephyr/test_zephyr.py
+++ b/tests/micro/zephyr/test_zephyr.py
@@ -86,6 +86,7 @@ def _make_session(temp_dir, zephyr_board, west_cmd, mod, 
build_config):
     )
     project.build()
     project.flash()
+    assert False, "Injecting expected failure, hope to see stdout :)"
     return tvm.micro.Session(project.transport())
 
 
diff --git a/tests/python/unittest/test_crt.py 
b/tests/python/unittest/test_crt.py
index 586e9fb..7b471cb 100644
--- a/tests/python/unittest/test_crt.py
+++ b/tests/python/unittest/test_crt.py
@@ -100,6 +100,7 @@ def test_compile_runtime():
 @tvm.testing.requires_micro
 def test_compile_runtime_llvm():
     """Test targeting the on-device runtime with the llvm backend."""
+    assert False, "Injecting expected failure"
     global TARGET
     old_target = TARGET
     try:

Reply via email to