From 161923ac3a5985f05aaf38efc116b38cd8f95d12 Mon Sep 17 00:00:00 2001 From: Leopold Cambier Date: Thu, 18 Apr 2024 13:15:00 -0700 Subject: [PATCH] Skipping LTO-IR test because (1) we need lto=True (2) nvcc cannot directly produce ltoir (should use nvcc -keep) --- pynvjitlink/tests/test_patch.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pynvjitlink/tests/test_patch.py b/pynvjitlink/tests/test_patch.py index d31d701..09578f8 100644 --- a/pynvjitlink/tests/test_patch.py +++ b/pynvjitlink/tests/test_patch.py @@ -133,7 +133,12 @@ def test_add_file_guess_ext_invalid_input( "linkable_code_fatbin", "linkable_code_object", "linkable_code_ptx", - "linkable_code_ltoir", + pytest.param( + "linkable_code_ltoir", + marks=pytest.mark.xfail( + reason=".ltoir file is actually an object and lto=True missing" + ), + ), ), ) def test_jit_with_linkable_code(file, request):