mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: libgdata: Fix tests.
* gnu/packages/gnome.scm (libgdata)[arguments]: Add 'set-home-for-tests' phase.
This commit is contained in:
parent
42298953ba
commit
24a472d9d5
1 changed files with 5 additions and 2 deletions
|
@ -60,6 +60,7 @@
|
|||
;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
|
||||
;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
|
||||
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
|
||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1947,13 +1948,15 @@ (define-public libgdata
|
|||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'set-home-for-tests
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
(add-before 'check 'disable-failing-tests
|
||||
(lambda _
|
||||
;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
|
||||
;; They have been removed in libgdata 0.17.6, so just do the same.
|
||||
(substitute* "gdata/tests/Makefile"
|
||||
(("picasaweb\\$\\(EXEEXT\\) ") ""))
|
||||
#t)))))
|
||||
(("picasaweb\\$\\(EXEEXT\\) ") "")))))))
|
||||
(native-inputs
|
||||
`(("glib:bin" ,glib "bin")
|
||||
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
||||
|
|
Loading…
Reference in a new issue