From b816ebc033b0777ae9b6a02786caab4c39210786 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 10 Oct 2023 12:18:46 +0200 Subject: [PATCH] fixup! fixup! tests: Add basic e2e test --- test/vm_test.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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) + }) + } } }