gnu: mariadb: Honor parallel-tests?.
* gnu/packages/databases.scm (mariadb)[arguments]: In custom 'check phase honor #:parallel-tests? flag.master
parent
acbce4ea41
commit
b1ef2deb66
|
@ -900,14 +900,16 @@ Language.")
|
||||||
(for-each disable-plugin disabled-plugins)
|
(for-each disable-plugin disabled-plugins)
|
||||||
#t)))
|
#t)))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key (tests? #t) #:allow-other-keys)
|
(lambda* (#:key (tests? #t) parallel-tests? #:allow-other-keys)
|
||||||
(if tests?
|
(if tests?
|
||||||
(with-directory-excursion "mysql-test"
|
(with-directory-excursion "mysql-test"
|
||||||
(invoke "./mtr" "--verbose"
|
(invoke "./mtr" "--verbose"
|
||||||
"--retry=3"
|
"--retry=3"
|
||||||
"--testcase-timeout=40"
|
"--testcase-timeout=40"
|
||||||
"--suite-timeout=600"
|
"--suite-timeout=600"
|
||||||
"--parallel" (number->string (parallel-job-count))
|
"--parallel" (number->string (if parallel-tests?
|
||||||
|
(parallel-job-count)
|
||||||
|
1))
|
||||||
;; Skip the replication tests: they are very I/O
|
;; Skip the replication tests: they are very I/O
|
||||||
;; intensive and frequently causes indeterministic
|
;; intensive and frequently causes indeterministic
|
||||||
;; failures even on powerful hardware.
|
;; failures even on powerful hardware.
|
||||||
|
|
Reference in New Issue