From c810d2a3dfb6b80c608ccbe865313ea9c030c9fe Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 18 Nov 2026 13:59:24 -0800 Subject: [PATCH] runtime tests: the copy-back splice test expects the Shared refusal too (the RTX 2080 run, 48082) a_copy_back_splices_by_the_device_s_check makes its buffer over dma-bufs (over_dma_bufs, which asserts the buffer lies over them), so where the device's types refuse a Shared dma-buf import it fails the same way the other two shadow write-back tests did before their guard. It was hidden in 47947 and 47957 behind the 30 failures shown. The guard returns before the device's check runs, on the check's own device. Verified: cargo fmt; the 2080's full log (48082) shows this failure at shadow_write_lines.rs:339 with "the buffer lies over dma-bufs". Compiled and run by the next check and the NVIDIA legs. --- crates/metal2vulkan-runtime/src/tests/shadow_write_lines.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/metal2vulkan-runtime/src/tests/shadow_write_lines.rs b/crates/metal2vulkan-runtime/src/tests/shadow_write_lines.rs index ed09152c0..0982a44fa 100644 --- a/crates/metal2vulkan-runtime/src/tests/shadow_write_lines.rs +++ b/crates/metal2vulkan-runtime/src/tests/shadow_write_lines.rs @@ -482,6 +482,9 @@ fn a_copy_back_splices_by_the_device_s_check() { println!("{TEST}: {} lists no dma-buf route: not run", checked.name()); return; } + if refuses_shared_dma_bufs(TEST, &checked) { + return; + } assert!( checked.settle_in_place_checks(CHECK_WAIT), "{TEST}: the device's check"