gnu: cowsay: Run tests after install.

* gnu/packages/games.scm (cowsay)[arguments]: Delete 'check phase, add
custom 'check phase after install.
This commit is contained in:
Efraim Flashner 2017-10-23 11:44:04 +03:00
parent 3bf94bc8bc
commit 1ee3079d78
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -267,7 +267,8 @@ (define-public cowsay
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "sh" "install.sh"
(assoc-ref outputs "out")))))
(replace 'check
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/cowsay")