mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01: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 @@ integrated it into your application's other widgets.")
|
|||
(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