Skip to content

Commit aff5d5b

Browse files
committed
test: classify CUDA 12 bindings alongside CUDA 13
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
1 parent 633a7eb commit aff5d5b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎cuda_python_test_helpers/cuda_python_test_helpers/_pytest_plugin.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ def pytest_collection_modifyitems(config, items): # noqa: ARG001
3232
# Package markers by path
3333
if nodeid.startswith("cuda_pathfinder/tests/") or "/cuda_pathfinder/tests/" in nodeid:
3434
item.add_marker(pytest.mark.pathfinder)
35-
if nodeid.startswith("cuda_bindings_13/tests/") or "/cuda_bindings_13/tests/" in nodeid:
35+
if (
36+
nodeid.startswith(("cuda_bindings_12/tests/", "cuda_bindings_13/tests/"))
37+
or "/cuda_bindings_12/tests/" in nodeid
38+
or "/cuda_bindings_13/tests/" in nodeid
39+
):
3640
item.add_marker(pytest.mark.bindings)
3741
if nodeid.startswith("cuda_core/tests/") or "/cuda_core/tests/" in nodeid:
3842
item.add_marker(pytest.mark.core)

0 commit comments

Comments
 (0)