me
/
guix
Archived
1
0
Fork 0

gnu: diffoscope: Disable another broken libfile test.

* gnu/packages/diffoscope.scm (diffoscope)[arguments]: Rename build phase
'remove-berkeley-test to 'remove-broken-file-type-detection-test and delete
another test that is broken due to our `file' package.
master
Ricardo Wurmus 2021-10-24 15:07:35 +00:00
parent 1d9cf387b3
commit b142611b36
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
@ -87,11 +87,12 @@
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
;; This test is broken because our `file` package has a
;; bug in berkeley-db file type detection.
(add-after 'unpack 'remove-berkeley-test
;; These tests are broken because our `file` package has a
;; bug in berkeley-db and wasm file type detection.
(add-after 'unpack 'remove-broken-file-type-detection-test
(lambda _
(delete-file "tests/comparators/test_berkeley_db.py")))
(delete-file "tests/comparators/test_berkeley_db.py")
(delete-file "tests/comparators/test_wasm.py")))
(add-after 'unpack 'embed-tool-references
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "diffoscope/comparators/utils/compare.py"