unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: guix-devel@gnu.org
Subject: Re: Simulating X-Server in tests
Date: Fri, 16 Mar 2018 15:58:18 +0100	[thread overview]
Message-ID: <20180316155818.47762a31@alma-ubu> (raw)
In-Reply-To: <7c66fac7-71ff-81b9-9818-94192ce6cf9d@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

On Thu, 1 Mar 2018 15:20:40 +0100
Hartmut Goebel <h.goebel@crazy-compilers.com> 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      parent reply	other threads:[~2018-03-16 14:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-01 11:29 Simulating X-Server in tests Björn Höfling
2018-03-01 14:18 ` Danny Milosavljevic
2018-03-01 14:20 ` Hartmut Goebel
2018-03-01 15:23   ` Björn Höfling
2018-03-16 14:58   ` Björn Höfling [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180316155818.47762a31@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).