From 1ee3079d780d2a9c5bd27980922f6fc7b239a21a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Oct 2017 11:44:04 +0300 Subject: gnu: cowsay: Run tests after install. * gnu/packages/games.scm (cowsay)[arguments]: Delete 'check phase, add custom 'check phase after install. --- gnu/packages/games.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 6709f02923..61eed39ef0 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -267,7 +267,8 @@ the others like yourself, that want what you have.") (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") -- cgit v1.2.3