guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating X-Server in tests


From: Danny Milosavljevic
Subject: Re: Simulating X-Server in tests
Date: Thu, 1 Mar 2018 15:18:07 +0100

Hi Björn,

On Thu, 1 Mar 2018 12:29:36 +0100
Björn Höfling <address@hidden> wrote:

> Is there a way to simulate "X" in my packages tests?
> 
> I have a bunch of tests that fail like this:
> 
>  3/15 Test  #3: advancedrenametest ...............***Failed    0.43 sec
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> '/tmp/guix-build-digikam-
> qt.qpa.screen: QXcbConnection: Could not connect to display 
> Could not connect to any X display.

Please first try (setenv "QT_QPA_PLATFORM" "offscreen").

If that doesn't help then start Xvfb (examples are in gnu/packages/gnome.scm), 
an X server.

(Each build runs in an isolated container so it's fine)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]