guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

57/60: gnu: tracker: Fix functional tests.


From: guix-commits
Subject: 57/60: gnu: tracker: Fix functional tests.
Date: Sat, 25 Jan 2020 14:47:20 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.

commit 0d5d9243266dadf9b4240142419a1623df9209f0
Author: Kei Kebreau <address@hidden>
AuthorDate: Mon Dec 23 12:12:08 2019 -0500

    gnu: tracker: Fix functional tests.
    
    * gnu/packages/gnome.scm (tracker)[arguments]: Adjust 'pre-check' phase
    accordingly.
    [native-inputs]: Add dconf.
---
 gnu/packages/gnome.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd26fed..ab2e703 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7421,15 +7421,19 @@ easy, safe, and automatic.")
              (substitute* "tests/tracker-steroids/meson.build"
                (("test\\(.*") ""))
              #t))
-         ;; Two tests fail if LANG is not set.
+         ;; Two tests fail if LANG is not set, and the functional tests require
+         ;; DConf to be the default GSettings backend, which in turn requires
+         ;; HOME to be set.
          (add-before 'check 'pre-check
            (lambda _
+             (setenv "HOME" (getcwd))
              (setenv "LANG" "en_US.UTF-8")
              ;; For the missing /etc/machine-id.
              (setenv "DBUS_FATAL_WARNINGS" "0")
              #t)))))
     (native-inputs
-     `(("glib:bin" ,glib "bin")
+     `(("dconf" ,dconf)
+       ("glib:bin" ,glib "bin")
        ("gnome-common" ,gnome-common)
        ("gobject-introspection" ,gobject-introspection)
        ("python-pygobject" ,python-pygobject)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]