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

driazati pushed a commit to branch v0.9.0
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/v0.9.0 by this push:
     new e1f1d12aa0 [CI] Skip some additional tests that are failing in the 
wheel (#11969)
e1f1d12aa0 is described below

commit e1f1d12aa046e708de95fdf37240b240f9907926
Author: Florin Blanaru <[email protected]>
AuthorDate: Thu Jun 30 20:50:21 2022 +0100

    [CI] Skip some additional tests that are failing in the wheel (#11969)
    
    This PR skips some additional tests that are failing in the nightly wheel.
---
 python/tvm/testing/utils.py | 3 ++-
 tests/python/ci/test_ci.py  | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py
index 5a6ded9bcb..fbd1f923dd 100644
--- a/python/tvm/testing/utils.py
+++ b/python/tvm/testing/utils.py
@@ -95,7 +95,8 @@ from tvm.error import TVMError
 SKIP_SLOW_TESTS = os.getenv("SKIP_SLOW_TESTS", "").lower() in {"true", "1", 
"yes"}
 
 skip_if_wheel_test = pytest.mark.skipif(
-    os.getenv("WHEEL_TEST") is not None, reason="Test not supported in wheel."
+    os.getenv("WHEEL_TEST", "").lower() in {"true", "1", "yes"},
+    reason="Test not supported in wheel.",
 )
 
 
diff --git a/tests/python/ci/test_ci.py b/tests/python/ci/test_ci.py
index d8bcad0151..fb1ddc3cd8 100644
--- a/tests/python/ci/test_ci.py
+++ b/tests/python/ci/test_ci.py
@@ -33,6 +33,7 @@ def parameterize_named(*values):
     return pytest.mark.parametrize(",".join(keys), [tuple(d.values()) for d in 
values])
 
 
[email protected]_if_wheel_test
 @pytest.mark.parametrize(
     "target_url,base_url,commit_sha,expected_url,expected_body",
     [
@@ -826,6 +827,7 @@ def test_github_tag_teams(tmpdir_factory):
     )
 
 
[email protected]_if_wheel_test
 @parameterize_named(
     dict(
         tlcpackstaging_body={

Reply via email to