guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28163] [PATCH 1/3] gnu: libksysguard: Enable more tests (not all wo


From: Hartmut Goebel
Subject: [bug#28163] [PATCH 1/3] gnu: libksysguard: Enable more tests (not all working yet).
Date: Sun, 20 Aug 2017 20:07:27 +0200

* gnu/packages/kde.scm (libksysguard)[arguments]<#:phases>'check':
  Set QT_QPA_PLATFORM=offscreen. Enable all tests except of the
  failing one.
---
 gnu/packages/kde.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index a65a61f96..0f21b8a9d 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -301,8 +301,10 @@ used in KDE development tools Kompare and KDevelop.")
              (substitute* "processcore/CMakeLists.txt"
                (("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR"))))
          (replace 'check
-           (lambda _         ;other tests require a display and therefore fail
-             (zero? (system* "ctest" "-R" "chronotest")))))))
+           (lambda _
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             ;; TODO: Fix this failing test-case
+             (zero? (system* "ctest" "-E" "processtest")))))))
     (home-page "https://www.kde.org/info/plasma-5.10.4.php";)
     (synopsis "Network enabled task and system monitoring")
     (description "KSysGuard can obtain information on system load and
-- 
2.13.5






reply via email to

[Prev in Thread] Current Thread [Next in Thread]