diff --git a/test/vm_test.go b/test/vm_test.go index 8eb83dad..244cabf6 100644 --- a/test/vm_test.go +++ b/test/vm_test.go @@ -257,10 +257,14 @@ func TestPCIIds(t *testing.T) { }) } - for name, test := range pciidMacOS13Tests { - t.Run(name, func(t *testing.T) { - testPCIId(t, test, puipuiProvider) - }) + if err := macOSAvailable(13); err != nil { + t.Log("Skipping macOS 13 tests") + } else { + for name, test := range pciidMacOS13Tests { + t.Run(name, func(t *testing.T) { + testPCIId(t, test, puipuiProvider) + }) + } } }