diff options
author | David Craven <david@craven.ch> | 2016-08-16 16:20:25 +0200 |
---|---|---|
committer | David Craven <david@craven.ch> | 2016-08-18 13:06:42 +0200 |
commit | 1f9c92ef5e3b1309d18f2771a4fa98fe53e2f414 (patch) | |
tree | b35f2a9eddeacffb3e3ec826a7eea7caa39087e3 /gnu/packages/kde-frameworks.scm | |
parent | a7d0154cc5f22ba4cc035559c8e4a5eaf72a57b3 (diff) | |
download | patches-1f9c92ef5e3b1309d18f2771a4fa98fe53e2f414.tar patches-1f9c92ef5e3b1309d18f2771a4fa98fe53e2f414.tar.gz |
gnu: kwidgetsaddons: Fix test failure.
* gnu/packages/kde-frameworks.scm (kwidgetsaddons)[arguments]:
Enable tests. Set Xvfb pixel depth to 24 bits.
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 130097e497..0433ebfe3d 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -817,19 +817,19 @@ represented by a QPoint or a QSize.") (inputs `(("qtbase" ,qtbase))) (arguments - `(#:tests? #f ; FIXME: libGL error: failed to load driver: swrast. - #:phases + `(#:phases (modify-phases %standard-phases (add-before 'check 'check-setup (lambda* _ - (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output - (setenv "LIBGL_DEBUG" "verbose") ; enable debug output (setenv "DBUS_FATAL_WARNINGS" "0"))) (add-before 'check 'start-xorg-server (lambda* (#:key inputs #:allow-other-keys) ;; The test suite requires a running X server. + ;; Xvfb doesn't have proper glx support and needs a pixeldepth + ;; of 24 bit to avoid "libGL error: failed to load driver: swrast" + ;; "Could not initialize GLX" (system (string-append (assoc-ref inputs "xorg-server") - "/bin/Xvfb :1 &")) + "/bin/Xvfb :1 -screen 0 640x480x24 &")) (setenv "DISPLAY" ":1") #t))))) (home-page "https://community.kde.org/Frameworks") |