aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-10-18 08:43:40 +0800
committer宋文武 <iyzsong@gmail.com>2015-10-18 08:43:40 +0800
commit6717c87964a7b210c34c122ce9dcef54ad7119cf (patch)
treeab2466e6af0230fae0fa362a58894f29dff8a641
parent406766c0d0f9ab45efb45baf0b542ebb7788ccd4 (diff)
downloadguix-6717c87964a7b210c34c122ce9dcef54ad7119cf.tar
guix-6717c87964a7b210c34c122ce9dcef54ad7119cf.tar.gz
gnu: python-dbus: Fix test.
* gnu/packages/python.scm (python-dbus)[arguments]: Run test with 'DBUS_FATAL_WARNINGS=0'.
-rw-r--r--gnu/packages/python.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c972b62500..9db578ed96 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