diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-05-13 10:52:54 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-05-13 10:52:54 +0300 |
commit | ed3f818b15d88f75e57db1fd107d8b5c995ceef5 (patch) | |
tree | c301ae4ce5a2f68b76cc8107160b623573f3849c | |
parent | a0221c342481a650f7e1ad5014a7c473b3165e7a (diff) | |
download | guix-ed3f818b15d88f75e57db1fd107d8b5c995ceef5.tar.gz guix-ed3f818b15d88f75e57db1fd107d8b5c995ceef5.zip |
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
-rw-r--r-- | gnu/packages/astronomy.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index dd90884e12..3701a7e90c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -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") |