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

* gnu/packages/maths.scm (maxima)[arguments]: Use invoke in the custom
check phase.
This commit is contained in:
Mark H Weaver 2018-12-12 23:23:32 -05:00
parent fa9e6e8b67
commit df129041dd
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org> ;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de> ;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org> ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
@ -2795,12 +2795,12 @@ to BMP, JPEG or PNG image formats.")
;; of Debian's Maxima package. ;; of Debian's Maxima package.
;; If Maxima can successfully run this, the binary to be installed ;; If Maxima can successfully run this, the binary to be installed
;; should be fine. ;; should be fine.
(zero? (invoke "sh" "-c"
(system (string-append
(string-append "./maxima-local " "./maxima-local "
"--lisp=gcl " "--lisp=gcl "
"--batch-string=\"run_testsuite();\" " "--batch-string=\"run_testsuite();\" "
"| grep -q \"No unexpected errors found\""))))) "| grep -q \"No unexpected errors found\""))))
;; Make sure the doc and emacs files are found in the ;; Make sure the doc and emacs files are found in the
;; standard location. Also configure maxima to find gnuplot ;; standard location. Also configure maxima to find gnuplot
;; without having it on the PATH. ;; without having it on the PATH.