gnu: tbb: Fail on test errors.

* gnu/packages/tbb.scm (tbb)[arguments]: Add phase
"fail-on-test-errors".
This commit is contained in:
Ricardo Wurmus 2016-09-26 12:41:46 +02:00
parent ba4529c4f7
commit 1a545a1e7c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -51,6 +51,11 @@ (define-public tbb
(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"