Browse Source

gnu: kcoreaddons: Fix broken test.

* gnu/packages/kde-frameworks.scm (kcoreaddons)[arguments]: Add build phase
"fix-broken-test".
snapper
Ricardo Wurmus 3 years ago
parent
commit
81cf0174b5
No known key found for this signature in database GPG Key ID: 197A5888235FACAC
  1. 8
      gnu/packages/kde-frameworks.scm

8
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))

Loading…
Cancel
Save