mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-14 14:24:53 +02:00
Smoke test: pass when gamescope ran the program (it segfaults on headless exit)
This commit is contained in:
1 parent
50dbf3355e
commit
0b7558b3b5
1 file changed
+2
-1
@@ -136,7 +136,8 @@ gsn_fetch_package() {
|
||||
|
||||
gsn_smoke_test() {
|
||||
# The installed gamescope must start (headless, no screen needed): a build that crashes would leave gaming mode in a loop.
|
||||
timeout 25 gamescope --backend headless -W 640 -H 360 -r 60 -- true >/dev/null 2>&1
|
||||
# It segfaults while shutting down headless (also unpatched builds), so what counts is that it ran the program.
|
||||
timeout 25 gamescope --backend headless -W 640 -H 360 -r 60 -- true 2>&1 | grep -q 'Primary child shut down'
|
||||
}
|
||||
|
||||
gsn_build_package() {
|
||||
|
||||
Reference in new issue
Block a user