gnu: gloo: Honor #:tests? in 'check' phase.

* gnu/packages/machine-learning.scm (gloo)[arguments]: In 'check' phase,
honor #:tests?.
This commit is contained in:
Ludovic Courtès 2021-08-03 15:54:26 +02:00
parent 36f7e1d783
commit c83d7d68f3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2462,9 +2462,9 @@ (define-public gloo
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "make" "gloo_test")
#t)))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "make" "gloo_test")))))))
(synopsis "Collective communications library")
(description
"Gloo is a collective communications library. It comes with a