aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-12-19 00:31:34 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-12-19 00:36:29 +0100
commit9c426e19cf1dc633a8e7d927b53299504fff9bf4 (patch)
treeb8d1bc1b08282a36952e7f6bce78baef289349d0 /gnu
parentde01d08bdfca8533285da16941bfcade49a7070d (diff)
downloadguix-9c426e19cf1dc633a8e7d927b53299504fff9bf4.tar
guix-9c426e19cf1dc633a8e7d927b53299504fff9bf4.tar.gz
gnu: bear: Respect TESTS?.
* gnu/packages/build-tools.scm (bear)[arguments]: Accept and respect a TESTS? keyword in the 'check phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/build-tools.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index eb6c32d849..18a07f0226 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -123,10 +123,11 @@ makes a few sacrifices to acquire fast full and incremental build times.")
(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)