This is an automated email from the ASF dual-hosted git repository.
tlopex 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 4dad956cba Fix PytestUnknownMarkWarning: Unknown
pytest.mark.adreno_clml (#19602)
4dad956cba is described below
commit 4dad956cbac2f4cf406ca16d3ae39bc6f4e19791
Author: Neo Chien <[email protected]>
AuthorDate: Tue May 26 13:38:06 2026 +0800
Fix PytestUnknownMarkWarning: Unknown pytest.mark.adreno_clml (#19602)
Hi Commiters,
This PR fixs `PytestUnknownMarkWarning: Unknown pytest.mark.adreno_clml
- is this a typo?`
>[2026-05-25T07:10:30.746Z] =============================== warnings
summary ===============================
[2026-05-25T07:10:30.746Z] python/tvm/testing/utils.py:651
[2026-05-25T07:10:30.746Z] /workspace/python/tvm/testing/utils.py:651:
PytestUnknownMarkWarning: Unknown pytest.mark.adreno_clml - is this a
typo? You can register custom marks to avoid this warning - for details,
see https://docs.pytest.org/en/stable/how-to/mark.html
[2026-05-25T07:10:30.746Z] yield getattr(pytest.mark, self.name)
[2026-05-25T07:10:30.746Z]
[2026-05-25T07:10:30.746Z] python/tvm/testing/utils.py:651
[2026-05-25T07:10:30.746Z] /workspace/python/tvm/testing/utils.py:651:
PytestUnknownMarkWarning: Unknown pytest.mark.adreno_opencl_vulkan - is
this a typo? You can register custom marks to avoid this warning - for
details, see https://docs.pytest.org/en/stable/how-to/mark.html
[2026-05-25T07:10:30.746Z] yield getattr(pytest.mark, self.name)
[2026-05-25T07:10:30.746Z
---------
Co-authored-by: cchung100m <[email protected]>
---
pyproject.toml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index eeafbdb7e4..2e400f0609 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -182,6 +182,13 @@ addopts = "-v --tb=short"
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
+markers = [
+ "adreno_clml: Mark a test as using adreno_clml",
+ "adreno_opencl_vulkan: Mark a test as using adreno_opencl_vulkan",
+ "adreno_vulkan: Mark a test as using adreno_vulkan",
+ "adreno_opencl: Mark a test as using adreno_opencl",
+ "adreno_opencl_real: Mark a test as using adreno_opencl_real",
+]
[tool.ruff]
include = [