gnu: indi: Respect #:tests?.
* gnu/packages/astronomy.scm (indi)[arguments]: Respect #:tests? in the 'check phase.master
parent
7f540e3ce0
commit
9a40c1d5bb
|
@ -816,11 +816,12 @@ provide you with detailed information about each pass.")
|
||||||
(string-append "-DUDEVRULES_INSTALL_DIR=" out "/lib/udev/rules.d")))
|
(string-append "-DUDEVRULES_INSTALL_DIR=" out "/lib/udev/rules.d")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(with-directory-excursion "test"
|
(when tests?
|
||||||
(invoke "ctest"))
|
(with-directory-excursion "test"
|
||||||
#t))
|
(invoke "ctest"))
|
||||||
|
#t)))
|
||||||
(add-before 'install 'set-install-directories
|
(add-before 'install 'set-install-directories
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Reference in New Issue