diff mbox

[02/13] gnu: kwidgetsaddons: Fix regression caused by update to qt 5.7.

Message ID 20160821140825.13048-2-david@craven.ch
State New
Headers show

Commit Message

David Craven Aug. 21, 2016, 2:08 p.m. UTC
* gnu/packages/kde-frameworks.scm (kwidgetsaddons)[arguments]: Disable tests.
---
 gnu/packages/kde-frameworks.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Mark H Weaver Aug. 21, 2016, 7:48 p.m. UTC | #1
David Craven <david@craven.ch> writes:

> * gnu/packages/kde-frameworks.scm (kwidgetsaddons)[arguments]: Disable tests.

You did more than disable tests.  Please describe the other changes.

> ---
>  gnu/packages/kde-frameworks.scm | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
> index ba26952..20ab37a 100644
> --- a/gnu/packages/kde-frameworks.scm
> +++ b/gnu/packages/kde-frameworks.scm
> @@ -816,10 +816,13 @@ represented by a QPoint or a QSize.")
>      (inputs
>       `(("qtbase" ,qtbase)))
>      (arguments
> -     `(#:phases
> +     `(#:tests? #f ; FIXME: Regression after update to qt 5.7
> +       #:phases
>          (modify-phases %standard-phases
>            (add-before 'check 'check-setup
>              (lambda* _
> +              (setenv "QT_QPA_PLATFORM" "offscreen") ; a better solution to Xvfb
> +              (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug info
>                (setenv "DBUS_FATAL_WARNINGS" "0")))

lambda* => lambda, and there should be a #t added after the last setenv.
Otherwise, looks okay, although I hope the test suite can be re-enabled
soon.

      Mark
diff mbox

Patch

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index ba26952..20ab37a 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -816,10 +816,13 @@  represented by a QPoint or a QSize.")
     (inputs
      `(("qtbase" ,qtbase)))
     (arguments
-     `(#:phases
+     `(#:tests? #f ; FIXME: Regression after update to qt 5.7
+       #:phases
         (modify-phases %standard-phases
           (add-before 'check 'check-setup
             (lambda* _
+              (setenv "QT_QPA_PLATFORM" "offscreen") ; a better solution to Xvfb
+              (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug info
               (setenv "DBUS_FATAL_WARNINGS" "0")))
           (add-before 'check 'start-xorg-server
             (lambda* (#:key inputs #:allow-other-keys)