guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: maxima: Return #t from custom 'check' phase.


From: guix-commits
Subject: 02/05: gnu: maxima: Return #t from custom 'check' phase.
Date: Mon, 22 Apr 2019 15:05:49 -0400 (EDT)

mhw pushed a commit to branch master
in repository guix.

commit df129041dd7cf0f25e5d256b19bb2b383abcf600
Author: Mark H Weaver <address@hidden>
Date:   Wed Dec 12 23:23:32 2018 -0500

    gnu: maxima: Return #t from custom 'check' phase.
    
    * gnu/packages/maths.scm (maxima)[arguments]: Use invoke in the custom
    check phase.
---
 gnu/packages/maths.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 373b997..6e2c10d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2014 Mathieu Lirzin <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2015 Sou Bunnbu <address@hidden>
-;;; Copyright © 2015 Mark H Weaver <address@hidden>
+;;; Copyright © 2015, 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <address@hidden>
 ;;; Copyright © 2015 Fabian Harfert <address@hidden>
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
@@ -2795,12 +2795,12 @@ to BMP, JPEG or PNG image formats.")
              ;; of Debian's Maxima package.
              ;; If Maxima can successfully run this, the binary to be installed
              ;; should be fine.
-             (zero?
-              (system
-               (string-append "./maxima-local "
-                              "--lisp=gcl "
-                              "--batch-string=\"run_testsuite();\" "
-                              "| grep -q \"No unexpected errors found\"")))))
+             (invoke "sh" "-c"
+                     (string-append
+                      "./maxima-local "
+                      "--lisp=gcl "
+                      "--batch-string=\"run_testsuite();\" "
+                      "| grep -q \"No unexpected errors found\""))))
          ;; Make sure the doc and emacs files are found in the
          ;; standard location.  Also configure maxima to find gnuplot
          ;; without having it on the PATH.



reply via email to

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