[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28720] [PATCH 01/23] gnu: grantlee: Enable all tests.
From: |
Hartmut Goebel |
Subject: |
[bug#28720] [PATCH 01/23] gnu: grantlee: Enable all tests. |
Date: |
Fri, 6 Oct 2017 14:16:14 +0200 |
* 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 775982757..6446a1043 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -78,6 +78,7 @@
(sha256
(base32 "1lf9rkv0i0kd7fvpgg5l8jb87zw8dzcwd1liv6hji7g4wlpmfdiq"))))
(native-inputs
+ ;; Optional: lcov and cccc, both are for code coverage
`(("doxygen" ,doxygen)))
(inputs
`(("qtbase" ,qtbase)
@@ -86,10 +87,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
--
2.13.5
- [bug#28720] [PATCH 00/23] Enhance building KDE Frameworks., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 00/23] Enhance building KDE Frameworks., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 03/23] gnu: Update prison to 5.37.0., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 02/23] gnu: qtkeychain: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 01/23] gnu: grantlee: Enable all tests.,
Hartmut Goebel <=
- [bug#28720] [PATCH 05/23] gnu: kconfigwidgets: Add optional native-input kdoctools., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 06/23] gnu: kwallet: Add optional input qgpgme., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 07/23] gnu: kdesignerplugin: Add optional inputs., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 12/23] gnu: bluez-qt: Add comment about status of tests., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 10/23] gnu: kfilemetadata: Enable support for PDF files and audio files., Hartmut Goebel, 2017/10/06
- [bug#28720] [PATCH 11/23] gnu: bluez-qt: Install udev-rules., Hartmut Goebel, 2017/10/06