From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Simulating X-Server in tests Date: Thu, 1 Mar 2018 15:18:07 +0100 Message-ID: <20180301151807.6177a784@scratchpost.org> References: <20180301122936.471a21ec@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erP2Q-0001Pe-Q7 for guix-devel@gnu.org; Thu, 01 Mar 2018 09:18:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erP2H-0002hv-Gj for guix-devel@gnu.org; Thu, 01 Mar 2018 09:18:26 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:39008) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1erP2H-0002gP-9J for guix-devel@gnu.org; Thu, 01 Mar 2018 09:18:17 -0500 In-Reply-To: <20180301122936.471a21ec@alma-ubu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?ISO-8859-1?Q?Bj=F6rn_H=F6fling?= Cc: guix-devel Hi Bj=C3=B6rn, On Thu, 1 Mar 2018 12:29:36 +0100 Bj=C3=B6rn H=C3=B6fling wrote: > Is there a way to simulate "X" in my packages tests? >=20 > I have a bunch of tests that fail like this: >=20 > 3/15 Test #3: advancedrenametest ...............***Failed 0.43 sec > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-d= igikam- > qt.qpa.screen: QXcbConnection: Could not connect to display=20 > 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.sc= m), an X server. (Each build runs in an isolated container so it's fine)