[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backe
From: |
Danny Milosavljevic |
Subject: |
[PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backend for tests. |
Date: |
Wed, 25 Jan 2017 21:51:18 +0100 |
* 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?)))
- [PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backend for tests.,
Danny Milosavljevic <=