[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/23: gnu: grantlee: Enable all tests.
From: |
Hartmut Goebel |
Subject: |
06/23: gnu: grantlee: Enable all tests. |
Date: |
Fri, 22 Sep 2017 09:30:26 -0400 (EDT) |
htgoebel pushed a commit to branch wip-qt-paths
in repository guix.
commit aa2513eaf184f7b9c5dd07d9ce80be18b962ca95
Author: Hartmut Goebel <address@hidden>
Date: Wed Sep 20 13:04:25 2017 +0200
gnu: grantlee: Enable all tests.
* gnu/packages/qt.scm (grantlee)[arguments]
<#:phases>'check-setup': New phase, set QT_QPA_PLATFORM=offscreen.
<#:phases>'check': Remove phase.
---
gnu/packages/qt.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b08c034..521ad90 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -77,6 +77,7 @@
(sha256
(base32 "1lf9rkv0i0kd7fvpgg5l8jb87zw8dzcwd1liv6hji7g4wlpmfdiq"))))
(native-inputs
+ ;; Optional: lcov and cccc, both are for code coverage
`(("doxygen" ,doxygen)))
(inputs
`(("qtbase" ,qtbase)
@@ -85,10 +86,11 @@
(arguments
`(#:phases
(modify-phases %standard-phases
- (replace 'check
- (lambda _
- (zero? (system* "ctest" ;; exclude 2 tests which require a
display
- "-E"
"htmlbuildertest|plainmarkupbuildertest")))))))
+ (add-before 'check 'check-setup
+ (lambda _
+ ;; make Qt render "offscreen", required for tests
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
(home-page "https://github.com/steveire/grantlee")
(synopsis "Libraries for text templating with Qt")
(description "Grantlee Templates can be used for theming and generation of
- branch wip-qt-paths created (now 44fa058), Hartmut Goebel, 2017/09/22
- 03/23: gnu: qwt: Adjust installation directory layout., Hartmut Goebel, 2017/09/22
- 05/23: gnu: qscintilla: Adjust installation directory layout., Hartmut Goebel, 2017/09/22
- 10/23: gnu: kconfigwidgets: Add optional native-input kdoctools., Hartmut Goebel, 2017/09/22
- 12/23: gnu: kdesignerplugin: Add optional inputs., Hartmut Goebel, 2017/09/22
- 06/23: gnu: grantlee: Enable all tests.,
Hartmut Goebel <=
- 11/23: gnu: kwallet: Add optional input qgpgme., Hartmut Goebel, 2017/09/22
- 13/23: gnu: phonon: Enable building the Qt Designer plugin., Hartmut Goebel, 2017/09/22
- 20/23: gnu: kidletime: Enable fallback mode to X-Screensaver based poller., Hartmut Goebel, 2017/09/22
- 23/23: gnu: kdeclarative: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/09/22
- 04/23: gnu: qtwebkit: Fix rpath for the qmlwebkit plugins., Hartmut Goebel, 2017/09/22
- 01/23: gnu: qtbase: Use a more standard directory layout., Hartmut Goebel, 2017/09/22
- 07/23: gnu: qtkeychain: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/09/22
- 15/23: gnu: kfilemetadata: Enable support for PDF files and audio files., Hartmut Goebel, 2017/09/22
- 08/23: gnu: Update prison to 5.37.0., Hartmut Goebel, 2017/09/22
- 21/23: gnu: sonnet: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/09/22