Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Comment on lines +185 to +191
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The registration of markers is incomplete. Based on the features defined in tests/python/relax/backend/adreno/utils.py, there are other Adreno-specific features that will trigger PytestUnknownMarkWarning when used. Specifically, adreno_vulkan, adreno_opencl, and adreno_opencl_real should also be registered to ensure all Adreno test markers are recognized by pytest.

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 = [
Expand Down
Loading