Commit 70d2af0
CI Linux: run tests under the offscreen QPA
test_aopacket uses QTEST_MAIN, which builds a QGuiApplication and needs
a platform plugin. The Linux runner is headless — xcb can't connect to
a display and the test aborts before its first assertion. Force the
offscreen QPA for the ctest step so QGuiApplication initialises against
a memory-backed surface. test_loopsidecar (QTEST_APPLESS_MAIN) was
unaffected. Windows runners have a real display so no equivalent fix
is needed there.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 2c14c8f commit 70d2af0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments