diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-09-29 10:04:45 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-29 10:04:45 +0300 |
commit | b1ef2deb66f4794c96557801eca3808a61f1f218 (patch) | |
tree | 49bf37f3c008aa192388333366730864e70873c2 /gnu/packages/databases.scm | |
parent | acbce4ea41965dd94e108edbc0e06a0e644fd117 (diff) | |
download | guix-b1ef2deb66f4794c96557801eca3808a61f1f218.tar guix-b1ef2deb66f4794c96557801eca3808a61f1f218.tar.gz |
gnu: mariadb: Honor parallel-tests?.
* gnu/packages/databases.scm (mariadb)[arguments]: In custom 'check
phase honor #:parallel-tests? flag.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index bd6d458c72..93336aeb5f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -900,14 +900,16 @@ Language.") (for-each disable-plugin disabled-plugins) #t))) (replace 'check - (lambda* (#:key (tests? #t) #:allow-other-keys) + (lambda* (#:key (tests? #t) parallel-tests? #:allow-other-keys) (if tests? (with-directory-excursion "mysql-test" (invoke "./mtr" "--verbose" "--retry=3" "--testcase-timeout=40" "--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 ;; intensive and frequently causes indeterministic ;; failures even on powerful hardware. |