guix-commits
[Top][All Lists]
Advanced

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

20/143: gnu: libksysguard: Enable all tests.


From: guix-commits
Subject: 20/143: gnu: libksysguard: Enable all tests.
Date: Mon, 21 Nov 2022 16:10:41 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit c3c7e8fc9a22954dcf5ab8a15b4d29193dfa8d98
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Wed Sep 28 09:50:36 2022 +0200

    gnu: libksysguard: Enable all tests.
    
    * gnu/packages/kde-plasma.scm (libksysguard): Enable all tests.
    [arguments]: Substitute bash shell.
    [native-inputs]: Add bash-minimal.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/kde-plasma.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index a4e35e36f7..967568c538 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system qt)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
@@ -292,7 +293,7 @@ basic needs and easy to configure for those who want 
special setups.")
        (sha256
         (base32 "1kzpimhkagsmqj0cky4cfav1kbzyfjaj2l5xdapnmaygbm6r8086"))))
     (native-inputs
-     (list extra-cmake-modules pkg-config qttools-5))
+     (list bash-minimal extra-cmake-modules pkg-config qttools-5))
     (inputs
      (list kauth
            kcompletion
@@ -323,13 +324,12 @@ basic needs and easy to configure for those who want 
special setups.")
            zlib))
     (build-system qt-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? #:allow-other-keys)
-                   (when tests?
-                     ;; TODO: Fix this failing test-case
-                     (invoke "ctest" "-E" "processtest")))))))
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'fix-test
+                          (lambda* _
+                            (substitute* "autotests/processtest.cpp"
+                              (("/bin/sh")
+                               (which "bash"))))))))
     (home-page "https://userbase.kde.org/KSysGuard";)
     (synopsis "Network enabled task and system monitoring")
     (description "KSysGuard can obtain information on system load and



reply via email to

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