Skip to content

Commit 72ea9c7

Browse files
committed
Skip TestLinkerUsage if test binaries are not available
1 parent edbc318 commit 72ea9c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numba_cuda/numba/cuda/tests/cudadrv/test_nvjitlink.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ def kernel():
261261

262262

263263
@unittest.skipIf(
264-
not PYNVJITLINK_INSTALLED, reason="Pynvjitlink is not installed"
264+
not PYNVJITLINK_INSTALLED or not TEST_BIN_DIR,
265+
reason="pynvjitlink not enabled"
265266
)
266267
class TestLinkerUsage(CUDATestCase):
267268
"""Test that whether pynvjitlink can be enabled by both environment variable

0 commit comments

Comments
 (0)