From 6717c87964a7b210c34c122ce9dcef54ad7119cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 18 Oct 2015 08:43:40 +0800 Subject: [PATCH] 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 file changed, 11 insertions(+) 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