Skip to content

Commit 95c3914

Browse files
committed
CI: Skip state failure test when running sanitizer
1 parent 0430930 commit 95c3914

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cuda_bindings/tests/test_cuda.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,10 @@ def test_cuFuncGetName_failure():
10201020
assert name is None
10211021

10221022

1023+
@pytest.mark.skipif(
1024+
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
1025+
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
1026+
)
10231027
@pytest.mark.skipif(
10241028
driverVersionLessThan(12080) or not supportsCudaAPI("cuCheckpointProcessGetState"),
10251029
reason="When API was introduced",

0 commit comments

Comments
 (0)