nixosTests.libresprite: improve test consistency

The larger font and shorter test word is making the test far more frequently locally and should stop the hour long runs on hydra
This commit is contained in:
Haylin Moore
2025-09-08 14:43:13 +02:00
parent 0dc9f12577
commit 2575320814

View File

@@ -23,10 +23,10 @@
testScript = ''
machine.wait_for_x()
machine.succeed("convert -font DejaVu-Sans +antialias label:'IT WORKS' image.png")
machine.succeed("convert -font DejaVu-Sans -pointsize 48 +antialias label:'WORKS' image.png")
machine.execute("libresprite image.png >&2 &")
machine.wait_for_window("LibreSprite ${pkgs.libresprite.version}-dev")
machine.wait_for_text("IT WORKS")
machine.wait_for_text("WORKS")
machine.screenshot("screen")
'';
}