mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: indi: Respect #:tests?.
* gnu/packages/astronomy.scm (indi)[arguments]: Respect #:tests? in the 'check phase.
This commit is contained in:
parent
7f540e3ce0
commit
9a40c1d5bb
1 changed files with 6 additions and 5 deletions
|
@ -816,11 +816,12 @@ (define-public indi
|
|||
(string-append "-DUDEVRULES_INSTALL_DIR=" out "/lib/udev/rules.d")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(with-directory-excursion "test"
|
||||
(invoke "ctest"))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion "test"
|
||||
(invoke "ctest"))
|
||||
#t)))
|
||||
(add-before 'install 'set-install-directories
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue