guix-commits
[Top][All Lists]
Advanced

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

04/10: gnu: kdelibs4support: Make test kstandarddirstest pass.


From: Hartmut Goebel
Subject: 04/10: gnu: kdelibs4support: Make test kstandarddirstest pass.
Date: Sun, 5 Nov 2017 04:57:48 -0500 (EST)

htgoebel pushed a commit to branch master
in repository guix.

commit 5bc1efd77dad5dde6bd353a9d29d41d48d83ed55
Author: Hartmut Goebel <address@hidden>
Date:   Wed Nov 1 12:13:18 2017 +0100

    gnu: kdelibs4support: Make test kstandarddirstest pass.
    
    * gnu/package/kde-frameworks.scm(kdelibs4support)[#:phases]
      <check-post-install>: Add workaround for bug in test-case.
      Update comment.
---
 gnu/packages/kde-frameworks.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index efd7876..6f261af 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3343,8 +3343,11 @@ workspace.")
              ;; enable debug output
              (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
              (setenv "DBUS_FATAL_WARNINGS" "0")
-             ;; TODO: Make this tests pass (also see
-             ;; https://bugs.kde.org/381098)
+             ;; Make kstandarddirstest pass (see https://bugs.kde.org/381098)
+             (mkdir-p ".kde-unit-test/xdg/config")
+             (with-output-to-file ".kde-unit-test/xdg/config/foorc"
+               (lambda () #t))  ;; simply touch the file
+             ;; kuniqueapptest hangs. TODO: Make this test pass.
              (zero? (system* "dbus-launch" "ctest" "."
                              "-E" "kstandarddirstest|kuniqueapptest")))))))
     (home-page "https://community.kde.org/Frameworks";)



reply via email to

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