From c1d80c7a9c87e1f3b03f6ec9eec94ce391674e3d Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 25 Nov 2018 12:53:52 +0100 Subject: gnu: diffoscope: Fix test failure. * gnu/packages/package-management.scm (diffoscope)[arguments]: Remove failing Berkeley DB test. --- gnu/packages/package-management.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 471a08b799..be48aa0685 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -586,6 +586,12 @@ (define-public diffoscope (lambda _ (substitute* "setup.py" (("'python-magic',") "")))) + ;; This test is broken because our `file` package has a + ;; bug in berkeley-db file type detection. + (add-after 'unpack 'remove-berkeley-test + (lambda _ + (delete-file "tests/comparators/test_berkeley_db.py") + #t)) (add-after 'unpack 'embed-tool-references (lambda* (#:key inputs #:allow-other-keys) (substitute* "diffoscope/comparators/utils/compare.py" -- cgit v1.2.3