From c42707fcc3c90a698e9d3e7c852527ddf691e6fb Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 29 Aug 2024 21:11:12 +0800 Subject: gnu: kcontacts: Fix building. * gnu/packages/kde-frameworks.scm (kcontacts)[arguments]<#:phases>: Exclude kcontacts-addresstest test. Change-Id: I6c9b8a26588bf2db3bddec4f528fe8c9b3862a02 --- gnu/packages/kde-frameworks.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit v1.2.3