Add Gnome Graphical Integration Test #14
Reference in New Issue
Block a user
Delete Branch "mc/vm-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a graphical integration test to the Nix flake in this repo. I have updated the README.md and Flake inputs.
This VM integration test spawns Gnome,
monado-service,stardust-xr-server,flatlandandweston-cliptestand tests that the functionality works correctly. The result is a screenshot. If any program in the test produces an exit code above 0 it will fail the test, graphical rendering bugs should be visible in the resulting screenshotThe test can be built like
nix build .#gnome-graphical-testInteresting findings
In making this test, I found some regressions in the recent Stardust changes that effect clients, they can be reproduced like this:
An older version (
d1e196fb67bdc1a31830333d9570c24b6d5f9e50) of Flatland broken with this version of the Servernix build --override-input flatland "github:stardustxr/flatland/d1e196fb67bdc1a31830333d9570c24b6d5f9e50" .#gnome-graphical-testA newer version of Flatland working with this version of the Server
nix build --override-input flatland "github:stardustxr/flatland/24613a496841bdf38e5f136608d5295860a75fce" .#gnome-graphical-testGithub Action runners don't let you run VMs inside of the actions like this. I'm willing to donate the compute for Hercules CI and set it up.