aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-frameworks.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-25 15:35:07 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-25 15:37:23 +0100
commit81cf0174b5cfb03fecaf183ad07217b80210ffe7 (patch)
tree787614e07728f8c8a31ca84e0ab0bcc83dc0e438 /gnu/packages/kde-frameworks.scm
parentfd007bebdd11577b438f67f6a2b4d6bbd3d05fb4 (diff)
downloadguix-81cf0174b5cfb03fecaf183ad07217b80210ffe7.tar
guix-81cf0174b5cfb03fecaf183ad07217b80210ffe7.tar.gz
gnu: kcoreaddons: Fix broken test.
* gnu/packages/kde-frameworks.scm (kcoreaddons)[arguments]: Add build phase "fix-broken-test".
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r--gnu/packages/kde-frameworks.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 353f9e4528..3865bc1b2e 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -578,6 +579,13 @@ propagate their changes to their respective configuration files.")
(lambda _
(display "[test_channels]\n*\n")))
#t))
+ ;; See upstream commit ee424e9b62368485bba4193053cabb553a1d268e
+ (add-after 'unpack 'fix-broken-test
+ (lambda _
+ (substitute* "autotests/kdirwatch_unittest.cpp"
+ (("QVERIFY\\(waitForRecreationSignal\\(watch, existingFile\\)\\);" m)
+ (string-append m "\nwaitUntilNewSecond();")))
+ #t))
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd))