summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2024-10-22 18:09:25 +0000
committerGreg Hogan <code@greghogan.com>2025-08-04 04:10:28 +0000
commite0015d9acc7dec73e967de82ecdd9bbb339b9f5a (patch)
tree72d6c0a443c30204a6559306340e0d3a68f4552e /gnu
parent26c5f35e8b9e8fedab314f2b9fc62a2da3045a95 (diff)
gnu: nextcloud-client: Use #:test-exclude.
* gnu/packages/sync.scm (nextcloud-client)[arguments] <#:test-exclude>: Move exclude regex here from 'check phase. <#:phases>: Move environment setup to 'pre-check and remove 'check phase. Change-Id: Ie5f568bbe1153291f53e429afb0026a96e8dbcc5
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sync.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 6bb754a079a..7adb604ce51 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -143,6 +143,7 @@
(((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build qt-build-system)
(guix build utils))
+ #:test-exclude "SyncXAttrTest"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-cmake
@@ -159,13 +160,9 @@
(("@kwidgetsaddons@")
(search-input-directory inputs
"/include/KF5/KWidgetsAddons/")))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "QT_QPA_PLATFORM" "offscreen")
- (invoke "ctest" "-E" "SyncXAttrTest"))))
(add-before 'check 'pre-check
(lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
;; Tests write to $HOME.
(setenv "HOME" (getcwd))
#t))