gnu: tomsfastmath: Use INVOKE.

* gnu/packages/multiprecision.scm (tomsfastmath)[arguments]: Use INVOKE in
"check" phase.
This commit is contained in:
Ricardo Wurmus 2019-01-25 13:20:00 +01:00
parent 6542b2db5d
commit 20fe9728c4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -255,11 +255,11 @@ (define-public tomsfastmath
(delete 'configure) ;no configuration
(replace 'check
(lambda* (#:key make-flags #:allow-other-keys)
(and (zero? (apply system* "make"
"stest" "test_standalone"
make-flags))
(zero? (system* "./stest"))
(zero? (system* "./test")))))
(apply invoke "make"
"stest" "test_standalone"
make-flags)
(invoke "./stest")
(invoke "./test")))
(add-before 'install 'install-nogroup
(lambda _
;; Let permissions inherit from the current process