[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/13: gnu: kcrash: Work around race condition when starting Xvfb.
From: |
Mark H. Weaver |
Subject: |
11/13: gnu: kcrash: Work around race condition when starting Xvfb. |
Date: |
Wed, 11 Jan 2017 16:25:11 +0000 (UTC) |
mhw pushed a commit to branch master
in repository guix.
commit 9e485ffa1b90e90207f53fcf58f43e29b639f852
Author: Ludovic Courtès <address@hidden>
Date: Sat Jan 7 13:07:29 2017 +0100
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.
---
gnu/packages/kde-frameworks.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 94145fb..36c2851 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -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")
- branch master updated (9b5364a -> c5edbb9), Mark H. Weaver, 2017/01/11
- 03/13: gnu: libxpm: Update to 3.5.12., Mark H. Weaver, 2017/01/11
- 04/13: gnu: mesa: Enable floating point textures., Mark H. Weaver, 2017/01/11
- 10/13: Revert "gnu: nss: Add comment about test failures in NSS 3.27.2", Mark H. Weaver, 2017/01/11
- 08/13: gnu: cairo: Update to 1.14.8., Mark H. Weaver, 2017/01/11
- 02/13: gnu: kmod: Update to 23., Mark H. Weaver, 2017/01/11
- 07/13: gnu: harfbuzz: Update to 1.3.4., Mark H. Weaver, 2017/01/11
- 01/13: gnu: Patch libxt's default search path., Mark H. Weaver, 2017/01/11
- 11/13: gnu: kcrash: Work around race condition when starting Xvfb.,
Mark H. Weaver <=
- 05/13: gnu: cups-filters: Update to 1.13.1., Mark H. Weaver, 2017/01/11
- 09/13: gnu: cairomm: Update to 1.12.2., Mark H. Weaver, 2017/01/11
- 12/13: Revert "gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host.", Mark H. Weaver, 2017/01/11
- 13/13: gnu: ardour: Add eudev dependency., Mark H. Weaver, 2017/01/11
- 06/13: gnu: poppler: Update to 0.50.0., Mark H. Weaver, 2017/01/11