gnu: youtube-dl: Disable the tests.
authorLeo Famulari <leo@famulari.name>
Sun, 16 Oct 2016 01:12:22 +0000 (21:12 -0400)
committerLeo Famulari <leo@famulari.name>
Sun, 16 Oct 2016 01:17:17 +0000 (21:17 -0400)
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.

gnu/packages/video.scm

index 45c3233..6d59ccc 100644 (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
      ;; completion file is called 'youtube-dl' rather than
      ;; '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
                     (lambda* (#:key outputs #:allow-other-keys)
                       (let ((prefix (assoc-ref outputs "out")))