summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-08-18 16:19:56 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-08-18 16:19:58 +0200
commitfbe9c80fb7a811914d0c6e66867c34e1ff70aae9 (patch)
tree1f55366a9ad2c5dcbed7ae865ee25a60360b122f /gnu/packages
parent1b00e3bd2d79bb0f7752250f0f9f2c705dd09a75 (diff)
downloadguix-fbe9c80fb7a811914d0c6e66867c34e1ff70aae9.tar.gz
gnu: eigen: Throw exceptions on test failure.
* gnu/packages/algebra.scm (eigen)[arguments]: Substitute INVOKE for
SYSTEM*.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/algebra.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index c889433b41..a58ad84488 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -740,11 +740,11 @@ Sine Transform} (DST) and @dfn{Discrete Hartley Transform} (DHT).")
 			(setenv "EIGEN_SEED" "1") ;for reproducibility
                         ;; First build the tests, in parallel.  See
                         ;; <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
-                             ;; details upon failure.
-                             (zero? (system* "ctest" "-V" dash-j)))))))))
+                        ;; Then run 'CTest' with -V so we get more
+                        ;; details upon failure.
+                        (invoke "ctest" "-V" dash-j)))))))
     (home-page "https://eigen.tuxfamily.org")
     (synopsis "C++ template library for linear algebra")
     (description