GNU bug report logs - #28163
[PATCH 1/3] gnu: libksysguard: Enable more tests (not all working yet).

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Sun, 20 Aug 2017 18:08:02 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: guix-patches <at> gnu.org
Subject: [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





This bug report was last modified 7 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.