tests: Fix Generic Initiator integration test

test_guest_numa_generic_initiator was missing the #[test] attribute and
did not match the VFIO CI filter pattern "vfio::test_nvidia"

Add #[test] and rename to test_nvidia_guest_numa_generic_initiator so
the existing CI infrastructure picks it up on the vfio-nvidia runner.

Fixes: #7718

Signed-off-by: Saravanan D <saravanand@crusoe.ai>
This commit is contained in:
Saravanan D 2026-02-17 23:44:32 +00:00 committed by Rob Bradford
parent 924baa9c0f
commit 17b0749e1c

View file

@ -12030,7 +12030,8 @@ mod vfio {
handle_child_output(r, &output);
}
fn test_guest_numa_generic_initiator() {
#[test]
fn test_nvidia_guest_numa_generic_initiator() {
// Skip test if VFIO device is not available or not ready
if !std::path::Path::new(NVIDIA_VFIO_DEVICE).exists() {
println!("SKIPPED: VFIO device {} not found", NVIDIA_VFIO_DEVICE);