mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: beets: Skip failing tests.
* gnu/packages/music.scm (beets)[phases]{disable-failing-tests}: New phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
02036cdda4
commit
1f1996e6a5
1 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
||||||
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
|
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
|
||||||
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
|
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -3159,6 +3160,13 @@ (define-public beets
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
|
||||||
|
;; Disable the faulty test as the fix is unclear.
|
||||||
|
(add-after 'unpack 'disable-failing-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/test_mediafile.py"
|
||||||
|
(("def test_read_audio_properties") "def _test_read_audio_properties"))
|
||||||
|
#t))
|
||||||
(add-after 'unpack 'set-HOME
|
(add-after 'unpack 'set-HOME
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (string-append (getcwd) "/tmp"))
|
(setenv "HOME" (string-append (getcwd) "/tmp"))
|
||||||
|
|
Loading…
Reference in a new issue