gnu: freebayes: Extend test timeout on slower architectures.

* gnu/packages/bioinformatics.scm (freebayes)[arguments]: Use custom
'check phase  on aarch64-linux and armhf-linux to extend the test timeout.
This commit is contained in:
Efraim Flashner 2021-01-19 10:33:19 +02:00
parent 63806fedf2
commit 797585746b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -143,6 +143,7 @@ (define-module (gnu packages bioinformatics)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
(define-public aragorn (define-public aragorn
@ -15168,7 +15169,16 @@ (define-public freebayes
(unpack "vcflib-src" "vcflib") (unpack "vcflib-src" "vcflib")
(unpack "intervaltree-src" "vcflib/intervaltree") (unpack "intervaltree-src" "vcflib/intervaltree")
(unpack "test-simple-bash-src" "test/test-simple-bash")) (unpack "test-simple-bash-src" "test/test-simple-bash"))
#t)))))) #t)))
;; The slow tests take longer than the specified timeout.
,@(if (any (cute string=? <> (%current-system))
'("armhf-linux" "aarch64-linux"))
'((replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "meson" "test" "--timeout-multiplier" "5"))
#t)))
'()))))
(home-page "https://github.com/ekg/freebayes") (home-page "https://github.com/ekg/freebayes")
(synopsis "Haplotype-based variant detector") (synopsis "Haplotype-based variant detector")
(description "FreeBayes is a Bayesian genetic variant detector designed to (description "FreeBayes is a Bayesian genetic variant detector designed to