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