aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-29 21:11:12 +0800
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:48 +0200
commitc42707fcc3c90a698e9d3e7c852527ddf691e6fb (patch)
tree6f6860acb783193c837ddf95d6bedd283e052a6d /gnu
parent2bfa848a41335869354a67578a5c4bbb21a3b9aa (diff)
downloadguix-c42707fcc3c90a698e9d3e7c852527ddf691e6fb.tar
guix-c42707fcc3c90a698e9d3e7c852527ddf691e6fb.tar.gz
gnu: kcontacts: Fix building.
* gnu/packages/kde-frameworks.scm (kcontacts)[arguments]<#:phases>: Exclude kcontacts-addresstest test. Change-Id: I6c9b8a26588bf2db3bddec4f528fe8c9b3862a02
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 53fe0d814f..88f79615f0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2370,7 +2370,15 @@ integrated it into your application's other widgets.")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
- (lambda _ (setenv "HOME" (getcwd)))))))
+ (lambda _ (setenv "HOME" (getcwd))))
+ (replace 'check
+ (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "-E" "(kcontacts-addresstest)"
+ "--rerun-failed" "--output-on-failure"
+ "-j" (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "API for contacts/address book data following the vCard standard")
(description "This library provides a vCard data model, vCard