From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backend for tests.
Date: Wed, 25 Jan 2017 21:51:18 +0100 [thread overview]
Message-ID: <20170125205118.15212-1-dannym@scratchpost.org> (raw)
* guix/build/cmake-build-system.scm (cmake-build-system): Set QT_QPA_PLATFORM to "offscreen".
---
guix/build/cmake-build-system.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build/cmake-build-system.scm b/guix/build/cmake-build-system.scm
index 27f2b5c87..dfe61ce56 100644
--- a/guix/build/cmake-build-system.scm
+++ b/guix/build/cmake-build-system.scm
@@ -67,6 +67,8 @@
#:allow-other-keys)
(let ((gnu-check (assoc-ref gnu:%standard-phases 'check)))
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
+ ;; Automated tests can't access user's X session anyway
+ (setenv "QT_QPA_PLATFORM" "offscreen")
(gnu-check #:tests? tests? #:test-target test-target
#:parallel-tests? parallel-tests?)))
next reply other threads:[~2017-01-25 20:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 20:51 Danny Milosavljevic [this message]
2017-01-25 20:57 ` [PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backend for tests Danny Milosavljevic
2017-01-26 9:59 ` Ludovic Courtès
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=20170125205118.15212-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--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).