mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: kcrash: Work around race condition when starting Xvfb.
Sometimes tests would start running before Xvfb is listening. See <https://hydra.gnu.org/build/1750201>. * gnu/packages/kde-frameworks.scm (kcrash)[arguments]: In 'start-xorg-server', add 'sleep' call after starting Xvfb. Pass "Xvfb" to 'system' instead of its absolute file name.
This commit is contained in:
parent
dca73a742c
commit
9e485ffa1b
1 changed files with 2 additions and 2 deletions
|
@ -1300,8 +1300,8 @@ (define-public kcrash
|
|||
(add-before 'check 'start-xorg-server
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; The test suite requires a running X server.
|
||||
(system (string-append (assoc-ref inputs "xorg-server")
|
||||
"/bin/Xvfb :1 &"))
|
||||
(system "Xvfb :1 &")
|
||||
(sleep 2) ;XXX: give the server enough time to start
|
||||
(setenv "DISPLAY" ":1")
|
||||
#t)))))
|
||||
(home-page "https://community.kde.org/Frameworks")
|
||||
|
|
Loading…
Reference in a new issue