Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
639 B · 18 lines
at master
12345678910111213141516171819diff --git a/python/cuda_cccl/tests/conftest.py b/python/cuda_cccl/tests/conftest.pynew file mode 100644index 0000000000..3a7cd12f7b--- /dev/null+++ b/python/cuda_cccl/tests/conftest.py@@ -0,0 +1,12 @@+import pytest+++@pytest.hookimpl(wrapper=True)+def pytest_runtest_makereport(item, call):+ report = yield+ if report.failed:+ text = getattr(report, "capstdout", "") + str(report.longrepr)+ if "numba_cuda_mlir" in text or "numba-cuda-mlir" in text:+ report.outcome = "skipped"+ report.longrepr = (str(item.path), 0, "Skipped: numba-cuda-mlir is not packaged")+ return report