From 1a545a1e7c30db76e562af527673081b490c4a11 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 26 Sep 2016 12:41:46 +0200 Subject: gnu: tbb: Fail on test errors. * gnu/packages/tbb.scm (tbb)[arguments]: Add phase "fail-on-test-errors". --- gnu/packages/tbb.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm index eab51f8a1e..43e9288fee 100644 --- a/gnu/packages/tbb.scm +++ b/gnu/packages/tbb.scm @@ -51,6 +51,11 @@ (assoc-ref %outputs "out") "/lib")) #:phases (modify-phases %standard-phases + (add-after 'unpack 'fail-on-test-errors + (lambda _ + (substitute* "Makefile" + (("-\\$\\(MAKE") "$(MAKE")) + #t)) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (substitute* "build/linux.gcc.inc" -- cgit v1.2.3