[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simulating X-Server in tests
From: |
Björn Höfling |
Subject: |
Re: Simulating X-Server in tests |
Date: |
Fri, 16 Mar 2018 15:58:18 +0100 |
On Thu, 1 Mar 2018 15:20:40 +0100
Hartmut Goebel <address@hidden> wrote:
> Am 01.03.2018 um 12:29 schrieb Björn Höfling:
> > 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.
>
> For many Qt testsit's sufficient to set QT_QPA_PLATFORM=offscreen,
> some require a running x11 server.
> Please have a look at the packages in qt.scm and kde-framworks.scm for
> examples of both and other necessary steps.
That did the trick.
Also, for another package without QT, Danny's trick with Xvfb helped.
Thanks,
Björn
pgpRnNTfAP9zk.pgp
Description: OpenPGP digital signature