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 2022/05/25 16:43:16 UTC

[tvm] branch main updated: [skip ci][ci] Fix broken test skips (#11456)

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 6c6dfbc90e [skip ci][ci] Fix broken test skips (#11456)
6c6dfbc90e is described below

commit 6c6dfbc90e36370176c192452c1865cd89323f3f
Author: driazati <94...@users.noreply.github.com>
AuthorDate: Wed May 25 09:43:10 2022 -0700

    [skip ci][ci] Fix broken test skips (#11456)
---
 tests/python/frontend/paddlepaddle/test_forward.py               | 2 +-
 tests/python/unittest/test_auto_scheduler_evolutionary_search.py | 2 +-
 tests/scripts/ci.py                                              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/python/frontend/paddlepaddle/test_forward.py b/tests/python/frontend/paddlepaddle/test_forward.py
index b6caac1f20..e381ab5a2f 100644
--- a/tests/python/frontend/paddlepaddle/test_forward.py
+++ b/tests/python/frontend/paddlepaddle/test_forward.py
@@ -707,7 +707,7 @@ def test_forward_gather_nd():
         verify_model(GatherNd(), [x_data, y_data])
 
 
-@pytest.skip(reason="See https://github.com/apache/tvm/issues/11435")
+@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/11435")
 @tvm.testing.uses_gpu
 def test_forward_group_norm():
     class GroupNorm(nn.Layer):
diff --git a/tests/python/unittest/test_auto_scheduler_evolutionary_search.py b/tests/python/unittest/test_auto_scheduler_evolutionary_search.py
index 080339059b..93853b4e7c 100644
--- a/tests/python/unittest/test_auto_scheduler_evolutionary_search.py
+++ b/tests/python/unittest/test_auto_scheduler_evolutionary_search.py
@@ -68,7 +68,7 @@ def test_mutate_tile_size():
     assert found
 
 
-@pytest.skip(reason="See https://github.com/apache/tvm/issues/11440")
+@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/11440")
 def test_mutate_parallel():
     """
     The test case initializes evo search with a batch of "bad" states and check whether
diff --git a/tests/scripts/ci.py b/tests/scripts/ci.py
index b2b903ad01..b3f9cb6500 100755
--- a/tests/scripts/ci.py
+++ b/tests/scripts/ci.py
@@ -526,7 +526,7 @@ def add_subparser(
             kwargs["required"] = not is_optional and not has_default
 
         if str(arg_type).startswith("typing.List"):
-            kwargs["nargs"] = "+"
+            kwargs["action"] = "append"
 
         if arg_cli_name[0] not in seen_prefixes:
             subparser.add_argument(f"-{arg_cli_name[0]}", f"--{arg_cli_name}", **kwargs)