guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: cowsay: Run tests after install.


From: Efraim Flashner
Subject: 01/01: gnu: cowsay: Run tests after install.
Date: Mon, 23 Oct 2017 04:44:44 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1ee3079d780d2a9c5bd27980922f6fc7b239a21a
Author: Efraim Flashner <address@hidden>
Date:   Mon Oct 23 11:44:04 2017 +0300

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

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6709f02..61eed39 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]