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
|
@ -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 New Issue