gnu: python-dbus: Fix test.

* gnu/packages/python.scm (python-dbus)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
This commit is contained in:
宋文武 2015-10-18 08:43:40 +08:00
parent 406766c0d0
commit 6717c87964

View file

@ -4211,6 +4211,17 @@ (define-public python-dbus
(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