me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2024-05-13 10:52:54 +03:00
parent a0221c3424
commit ed3f818b15
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 3 deletions

View File

@ -130,13 +130,12 @@
#: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")