gnu: bear: Respect TESTS?.

* gnu/packages/build-tools.scm (bear)[arguments]: Accept and respect a
TESTS? keyword in the 'check phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-19 00:31:34 +01:00
parent de01d08bdf
commit 9c426e19cf
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -123,10 +123,11 @@ (define-public bear
(add-before 'check 'set-build-environment
(lambda _
(setenv "CC" "gcc")))
;; TODO: Test Configuration is Incomplete
(replace 'check
(lambda _
(invoke "ctest"))))))
;; TODO: Test configuration is incomplete.
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "ctest")))))))
(inputs
`(("c-ares" ,c-ares)
("fmt" ,fmt)