3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: youtube-dl: Disable the tests.

The tests were silently skipped with Python 3.4. With Python 3.5, this
caused the youtube-dl build to fail.

* gnu/packages/video.scm (youtube-dl)[arguments]: Disable tests.
This commit is contained in:
Leo Famulari 2016-10-15 21:12:22 -04:00
parent 57e57d433a
commit 31c580068b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -943,7 +943,8 @@ access to mpv's powerful playback capabilities.")
;; So, we need pass the prefix directly. In addition, make sure the Bash ;; So, we need pass the prefix directly. In addition, make sure the Bash
;; completion file is called 'youtube-dl' rather than ;; completion file is called 'youtube-dl' rather than
;; 'youtube-dl.bash-completion'. ;; 'youtube-dl.bash-completion'.
`(#:phases (modify-phases %standard-phases `(#:tests? #f ; Many tests fail. The test suite can be run with pytest.
#:phases (modify-phases %standard-phases
(add-before 'install 'fix-the-data-directories (add-before 'install 'fix-the-data-directories
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((prefix (assoc-ref outputs "out"))) (let ((prefix (assoc-ref outputs "out")))