mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
gnu: terminology: Respect #:tests? flag.
* gnu/packages/enlightenment.scm (terminology)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
c24ffc3aae
commit
57bf228b66
1 changed files with 6 additions and 5 deletions
|
@ -235,11 +235,12 @@ (define-public terminology
|
|||
;; 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.
|
||||
|
|
Loading…
Reference in a new issue