> Again since the tests are run in a container, I'd expect that there
> isn't a xserver
> running unless I explicitly start it.
>
> Are my assumptions wrong?
> Do you think it's worth tracking down the test failure when my solution works?
No, if that's the case it's fine to use Xvfb too. It's
I'll withhold this patch pending further investigation.
Thank you!
> Might (setenv "QT_QPA_PLATFORM" "offscreen") also be enough?
Interesting, that also fixes the problem, but causes a new one...
* Start testing of KDualActionTest *
Config: Using QtTest library 5.7.0, Qt 5.7.0
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC
>(system (string-append (assoc-ref inputs "xorg-server")
> - "/bin/Xvfb :1 &"))
> + "/bin/Xvfb :1 -screen 0 640x480x24 &"))
Might
(setenv "QT_QPA_PLATFORM" "offscreen")
also be enough? Starting
* gnu/packages/kde-frameworks.scm (kwidgetsaddons)[arguments]:
Enable tests. Set Xvfb pixel depth to 24 bits.
---
gnu/packages/kde-frameworks.scm | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm