[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: terminology: Respect #:tests? flag.
From: |
guix-commits |
Subject: |
04/07: gnu: terminology: Respect #:tests? flag. |
Date: |
Thu, 6 Jan 2022 14:36:07 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 57bf228b66ad14eb5a9165751ee9aeda1acc5b47
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 6 21:28:42 2022 +0200
gnu: terminology: Respect #:tests? flag.
* gnu/packages/enlightenment.scm (terminology)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
---
gnu/packages/enlightenment.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 347b7ea9c6..bfb93d9534 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -235,11 +235,12 @@ removable devices or support for multimedia.")
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
(lambda _ (setenv "HOME" "/tmp")))
(replace 'check
- (lambda _
- (with-directory-excursion
- (string-append "../" ,name "-" ,version "/tests")
- (invoke "sh" "run_tests.sh" "--verbose"
- "-t" "../../build/src/bin/tytest"))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion
+ (string-append "../" ,name "-" ,version "/tests")
+ (invoke "sh" "run_tests.sh" "--verbose"
+ "-t" "../../build/src/bin/tytest")))))
(add-after 'install 'remove-test-binary
(lambda* (#:key outputs #:allow-other-keys)
;; This file is not meant to be installed.
- branch master updated (b4263f12ed -> c0f612de35), guix-commits, 2022/01/06
- 03/07: gnu: terminology: Remove input labels., guix-commits, 2022/01/06
- 05/07: gnu: enlightenment: Update to 0.25.1., guix-commits, 2022/01/06
- 04/07: gnu: terminology: Respect #:tests? flag.,
guix-commits <=
- 07/07: gnu: evisum: Remove input labels., guix-commits, 2022/01/06
- 02/07: gnu: terminology: Update to 1.12.1., guix-commits, 2022/01/06
- 01/07: gnu: efl: Update to 1.26.1., guix-commits, 2022/01/06
- 06/07: gnu: evisum: Update to 0.6.0., guix-commits, 2022/01/06