-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: Add basic e2e test #61
Merged
Merged
Commits on Jan 29, 2024
-
This reuses the puipui linux work from Code-Hex/vz. The OS is abstracted with a OSProvider interface which will hopefully be implementable with Fedora CoreOS or other distros. Tests which are currently implemented: - start a VM, and make sure it's possible to connect through ssh (both over a regular network interface, and over vsock) - for most devices, run lspci to make sure it's present in the VM - vsock-listen and vsock-connect - file sharing Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 357bf48 - Browse repository at this point
Copy the full SHA 357bf48View commit details -
Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03a3499 - Browse repository at this point
Copy the full SHA 03a3499View commit details -
tests: Reuse macOSAvailable code from Code-Hex/vz
In the next commits, we want to avoid running the macOS13-specific tests on older macOS versions. Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a092c71 - Browse repository at this point
Copy the full SHA a092c71View commit details -
tests: Don't test macOS13-only devices on older macOS
This will solve some test failures on macOS 12. There are likely more issues to fix on macOS 11. Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb81164 - Browse repository at this point
Copy the full SHA eb81164View commit details -
ghactions: Don't run tests on macos 11
The newly added e2e tests will fail on macos 11. it's 3 major releases behind (macos 14 was released a few months ago), I prefer not to spend too much time on it for now. Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7a7e1f - Browse repository at this point
Copy the full SHA c7a7e1fView commit details -
Running 'make' twice currently results in an error: ``` % make CGO_ENABLED=1 CGO_CFLAGS=-mmacosx-version-min=11.0 GOOS=darwin GOARCH=amd64 go build -o out/vfkit-amd64 ./cmd/vfkit codesign --entitlements vf.entitlements -s - out/vfkit-amd64 out/vfkit-amd64: is already signed make: *** [out/vfkit-amd64] Error 1 ``` This commit makes use of "codesign -f" to force the re-generation of a signature even if the binarie did not change. This works around the previous error. Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6ac775 - Browse repository at this point
Copy the full SHA d6ac775View commit details -
ghactions: Only upload macos 13 artifacts
We don't really need the other ones.. Signed-off-by: Christophe Fergeau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8fbd4dc - Browse repository at this point
Copy the full SHA 8fbd4dcView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.