diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-12-19 00:31:34 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-12-19 00:36:29 +0100 |
commit | 9c426e19cf1dc633a8e7d927b53299504fff9bf4 (patch) | |
tree | b8d1bc1b08282a36952e7f6bce78baef289349d0 /gnu/packages | |
parent | de01d08bdfca8533285da16941bfcade49a7070d (diff) |
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/packages')
-rw-r--r-- | gnu/packages/build-tools.scm | 7 |
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) |