Skip to content

Commit b091340

Browse files
committed
CI: Skip linker error log test when sanitizer is running
1 parent 95c3914 commit b091340

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cuda_core/tests/test_linker.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
4+
import os
45

56
import pytest
67

@@ -140,6 +141,10 @@ def test_linker_link_invalid_target_type(compile_ptx_functions):
140141
linker.link("invalid_target")
141142

142143

144+
@pytest.mark.skipif(
145+
is_culink_backend and os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
146+
reason="The compute-sanitzer is running, and this test causes an API error using the culink API.",
147+
)
143148
def test_linker_get_error_log(compile_ptx_functions):
144149
options = LinkerOptions(arch=ARCH)
145150

0 commit comments

Comments
 (0)