guix-patches
[Top][All Lists]
Advanced

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

[bug#29114] [PATCH 04/10] gnu: kdelibs4support: Make test kstandarddirst


From: Hartmut Goebel
Subject: [bug#29114] [PATCH 04/10] gnu: kdelibs4support: Make test kstandarddirstest pass.
Date: Thu, 2 Nov 2017 09:47:44 +0100

* 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 efd78766a..6f261afd1 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";)
-- 
2.13.5






reply via email to

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