[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/30: gnu: grantlee: Enable all tests.
From: |
Hartmut Goebel |
Subject: |
07/30: gnu: grantlee: Enable all tests. |
Date: |
Fri, 13 Oct 2017 09:29:02 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit 868b1a025a5d34481cb22c8a653b61d7bc39684d
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 2dd1d83..416ae7c 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
- branch master updated (dad66da -> 109461f), Hartmut Goebel, 2017/10/13
- 02/30: gnu: qt: Fix install paths in submodules., Hartmut Goebel, 2017/10/13
- 09/30: gnu: Update prison to 5.37.0., Hartmut Goebel, 2017/10/13
- 04/30: gnu: qtwebkit: Fix rpath for the qmlwebkit plugins., Hartmut Goebel, 2017/10/13
- 07/30: gnu: grantlee: Enable all tests.,
Hartmut Goebel <=
- 01/30: gnu: qtbase: Use a more standard directory layout., Hartmut Goebel, 2017/10/13
- 06/30: gnu: kde-framworks: Fix installation directories., Hartmut Goebel, 2017/10/13
- 21/30: gnu: kio: Remove unused input., Hartmut Goebel, 2017/10/13
- 16/30: gnu: kdnssd: Enable service discovery on local network via avahi., Hartmut Goebel, 2017/10/13
- 18/30: gnu: bluez-qt: Install udev-rules., Hartmut Goebel, 2017/10/13
- 10/30: gnu: kcoreaddons: Add native-input shared-mime-info and a comment., Hartmut Goebel, 2017/10/13
- 03/30: gnu: qwt: Adjust installation directory layout., Hartmut Goebel, 2017/10/13
- 22/30: gnu: kio: Adopt a patch from Nix., Hartmut Goebel, 2017/10/13
- 26/30: gnu: kglobalaccel: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/13
- 11/30: gnu: kconfigwidgets: Add optional native-input kdoctools., Hartmut Goebel, 2017/10/13