From fbe9c80fb7a811914d0c6e66867c34e1ff70aae9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Aug 2018 16:19:56 +0200 Subject: gnu: eigen: Throw exceptions on test failure. * gnu/packages/algebra.scm (eigen)[arguments]: Substitute INVOKE for SYSTEM*. --- gnu/packages/algebra.scm | 8 ++++---- 1 file 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 @@ (define-public eigen (setenv "EIGEN_SEED" "1") ;for reproducibility ;; First build the tests, in parallel. See ;; . - (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 -- cgit v1.2.3