mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
924baa9c0f
commit
17b0749e1c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user