guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: txr: Declare test target.


From: guix-commits
Subject: 03/06: gnu: txr: Declare test target.
Date: Tue, 14 Apr 2020 14:24:40 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit c3f88d4f345c41220670558391e38af2278936a4
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Tue Apr 14 18:22:16 2020 +0200

    gnu: txr: Declare test target.
    
    * gnu/packages/lisp.scm (txr)[arguments]: Use #:test-target instead of
    a trivial custom ‘check’ phase.
---
 gnu/packages/lisp.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 709ea88..b35fa32 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2016, 2017 Andy Patterson <address@hidden>
 ;;; Copyright © 2017, 2019 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2017, 2018, 2019 Efraim Flashner <address@hidden>
-;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2019, 2020 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Benjamin Slade <address@hidden>
 ;;; Copyright © 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2018, 2019 Pierre Neidhardt <address@hidden>
@@ -860,6 +860,7 @@ enough to play the original mainframe Zork all the way 
through.")
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags '("cc=gcc")
+       #:test-target "tests"
        #:phases (modify-phases %standard-phases
                   (add-after 'configure 'fix-tests
                     (lambda _
@@ -867,10 +868,7 @@ enough to play the original mainframe Zork all the way 
through.")
                         (("/usr/bin") "/"))
                       (substitute* "tests/017/realpath.expected"
                         (("/usr/bin") "/"))
-                      #t))
-                  (replace 'check
-                    (lambda _
-                      (invoke "make" "tests"))))))
+                      #t)))))
     (native-inputs
      `(("bison" ,bison)
        ("flex" ,flex)))



reply via email to

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