From 81cf0174b5cfb03fecaf183ad07217b80210ffe7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 25 Jan 2019 15:35:07 +0100 Subject: gnu: kcoreaddons: Fix broken test. * gnu/packages/kde-frameworks.scm (kcoreaddons)[arguments]: Add build phase "fix-broken-test". --- gnu/packages/kde-frameworks.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu') 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 ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2019 Ricardo Wurmus ;;; ;;; 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)) -- cgit 1.4.1