Skip to content

Support running integration tests on macOS#524

Draft
mtjhrc wants to merge 5 commits intocontainers:mainfrom
mtjhrc:tests-macos-support
Draft

Support running integration tests on macOS#524
mtjhrc wants to merge 5 commits intocontainers:mainfrom
mtjhrc:tests-macos-support

Conversation

@mtjhrc
Copy link
Collaborator

@mtjhrc mtjhrc commented Feb 2, 2026

This PR makes sure our make test simply just works on macOS.

Note that this currently utilizes the same tests as linux which is the libkrunfw/virtio-fs use-case (not the commonly used EFI+disk variant on macOS), these test can hopefully be added later, still though this is quite useful for testing virtio devices.
This also disables vsock and tsi/vsock tests since these currently fail on macOS (the TSI is understandable, but I'm not sure about the vsock failure) - we can investigate or declare this unsupported later.

Since we currently don't have a macOS CI that supports virtualization, these tests still have to be ran locally.

@mtjhrc mtjhrc force-pushed the tests-macos-support branch 6 times, most recently from 3159e54 to edf1b4d Compare February 2, 2026 16:34
@mtjhrc mtjhrc changed the title Run integration tests on macOS Support running integration tests on macOS Feb 2, 2026
@mtjhrc mtjhrc force-pushed the tests-macos-support branch 3 times, most recently from 96a04dc to 51c0d0d Compare February 2, 2026 18:45
Signed-off-by: Matej Hrica <mhrica@redhat.com>
Use correct platform-specific library directory (lib vs lib64) and
library path env variable (DYLD_LIBRARY_PATH vs LD_LIBRARY_PATH).

Signed-off-by: Matej Hrica <mhrica@redhat.com>
Signed-off-by: Matej Hrica <mhrica@redhat.com>
Signed-off-by: Matej Hrica <mhrica@redhat.com>
Signed-off-by: Matej Hrica <mhrica@redhat.com>
@mtjhrc mtjhrc force-pushed the tests-macos-support branch 2 times, most recently from 10c742e to 3bafd76 Compare February 4, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant