gnu: eigen: Throw exceptions on test failure.

* gnu/packages/algebra.scm (eigen)[arguments]: Substitute INVOKE for
SYSTEM*.
This commit is contained in:
Tobias Geerinckx-Rice 2018-08-18 16:19:56 +02:00
parent 1b00e3bd2d
commit fbe9c80fb7
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 4 deletions

View File

@ -740,11 +740,11 @@ Sine Transform} (DST) and @dfn{Discrete Hartley Transform} (DHT).")
(setenv "EIGEN_SEED" "1") ;for reproducibility (setenv "EIGEN_SEED" "1") ;for reproducibility
;; First build the tests, in parallel. See ;; First build the tests, in parallel. See
;; <http://eigen.tuxfamily.org/index.php?title=Tests>. ;; <http://eigen.tuxfamily.org/index.php?title=Tests>.
(and (zero? (system* "make" "buildtests" dash-j)) (invoke "make" "buildtests" dash-j)
;; Then run 'CTest' with -V so we get more ;; Then run 'CTest' with -V so we get more
;; details upon failure. ;; details upon failure.
(zero? (system* "ctest" "-V" dash-j))))))))) (invoke "ctest" "-V" dash-j)))))))
(home-page "https://eigen.tuxfamily.org") (home-page "https://eigen.tuxfamily.org")
(synopsis "C++ template library for linear algebra") (synopsis "C++ template library for linear algebra")
(description (description