gnu: telepathy-glib: Disable failing tests.
authorKei Kebreau <kkebreau@posteo.net>
Sun, 22 Dec 2019 04:19:13 +0000 (23:19 -0500)
committerKei Kebreau <kkebreau@posteo.net>
Sat, 18 Apr 2020 20:51:28 +0000 (16:51 -0400)
* gnu/packages/glib.scm (telepathy-glib)[arguments]: Add phase to disable
failing tests.

(cherry picked from commit 9049e4d808f241dd88ddcb6a0f74b0766624fb08)

gnu/packages/glib.scm

index 185066a..1e99419 100644 (file)
@@ -825,7 +825,18 @@ up the Gnome environment, and are used in many unrelated projects.")
        ;;
        ;;   EOFError: EOF read where object expected
        ;;   make[2]: *** [Makefile:1906: _gen/register-dbus-glib-marshallers-body.h] Error 1
-       #:parallel-build? #f))
+       #:parallel-build? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-failing-tests
+           (lambda _
+             ;; None of the tests below are able to find the org.gtk.vfs.Daemon
+             ;; service file provided by gvfs.
+             (substitute* "tests/dbus/Makefile.in"
+               (("test-contacts\\$\\(EXEEXT\\)") "")
+               (("test-file-transfer-channel\\$\\(EXEEXT\\)") "")
+               (("test-stream-tube\\$\\(EXEEXT\\)") ""))
+             #t)))))
     (native-inputs
      `(("glib" ,glib "bin") ; uses glib-mkenums
        ("gobject-introspection" ,gobject-introspection)