guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: python-dbus: Fix test.


From: ???
Subject: 02/02: gnu: python-dbus: Fix test.
Date: Sun, 18 Oct 2015 00:44:42 +0000

iyzsong pushed a commit to branch dbus-update
in repository guix.

commit 6717c87964a7b210c34c122ce9dcef54ad7119cf
Author: 宋文武 <address@hidden>
Date:   Sun Oct 18 08:43:40 2015 +0800

    gnu: python-dbus: Fix test.
    
    * gnu/packages/python.scm (python-dbus)[arguments]: Run test with
      'DBUS_FATAL_WARNINGS=0'.
---
 gnu/packages/python.scm |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c972b62..9db578e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4211,6 +4211,17 @@ features useful for text console applications.")
        (sha256
         (base32 "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before
+          'check 'pre-check
+          (lambda _
+            ;; XXX: For the missing '/etc/machine-id'.
+            (substitute* "test/run-test.sh"
+              (("DBUS_FATAL_WARNINGS=1")
+               "DBUS_FATAL_WARNINGS=0"))
+            #t)))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs



reply via email to

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