summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-08 11:17:06 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-08 16:02:34 +0800
commit57fcd2241524533fe082533a2bbbfb21918c2df8 (patch)
tree8a162212d2746b4f83135a0c614daf8de6b2a3ff
parent13a9e2919097f85bd12f0470f79cbea63dafc819 (diff)
downloadguix-57fcd2241524533fe082533a2bbbfb21918c2df8.tar.gz
gnu: at-spi2-atk: Enable tests.
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]: Remove #:tests? #f.
  Add #:phases.
-rw-r--r--gnu/packages/gtk.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index e45d200bd1..bfe13cfa85 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -388,15 +388,19 @@ is part of the GNOME accessibility project.")
              (base32
               "1y9gfz1iz3wpja7s000f0bmyyvc6im5fcdl6bxwbz0v3qdgc9vvq"))))
    (build-system gnu-build-system)
+   (arguments
+    '(#:phases
+      (modify-phases %standard-phases
+        (replace check
+                 ;; Run test-suite under a dbus session.
+                 (lambda _
+                   (zero? (system* "dbus-launch" "make" "check")))))))
    (inputs `(("atk" ,atk)
              ("at-spi2-core" ,at-spi2-core)
              ("dbus" ,dbus)
              ("glib" ,glib)))
    (native-inputs
      `(("pkg-config" ,pkg-config)))
-   (arguments
-    `(#:tests? #f)) ; FIXME: droute/droute-test fails; one should disable
-                    ; tests in a more fine-grained way.
    (synopsis "Assistive Technology Service Provider Interface, ATK bindings")
    (description
     "The Assistive Technology Service Provider Interface