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")))