mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: alfa: Reuse 'check phase.
* gnu/packages/astronomy.scm (alfa)[arguments]: Set test-target. Replace custom 'post-install-check phase with the standard 'check phase. Change-Id: Ic5f77ac3a3a6ef62ce36ad5fa8892db6d0894d04
This commit is contained in:
parent
a0221c3424
commit
ed3f818b15
1 changed files with 2 additions and 3 deletions
|
@ -130,13 +130,12 @@ (define-public alfa
|
|||
#:tests? (not (or (%current-target-system)
|
||||
;; The test suite consumes all disk space
|
||||
(target-riscv64?)))
|
||||
#:test-target "fittest"
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'check)
|
||||
(add-after 'install 'post-install-check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "make" "fittest")))))))
|
||||
(assoc-ref %standard-phases 'check)))))
|
||||
(inputs (list cfitsio gfortran))
|
||||
(home-page "https://nebulousresearch.org/codes/alfa/")
|
||||
(synopsis "Automated line fitting algorithm")
|
||||
|
|
Loading…
Reference in a new issue