From: Danny Milosavljevic <dannym@scratchpost.org>
To: 35126@debbugs.gnu.org
Subject: [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26.
Date: Wed, 3 Apr 2019 19:00:44 +0200 [thread overview]
Message-ID: <20190403170044.21420-1-dannym@scratchpost.org> (raw)
* gnu/packages/rust.scm (rust-1.26)[arguments]<#:phases>[check]: Enable
parallel tests.
---
gnu/packages/rust.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 63426a12fc..23b28cce23 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -724,6 +724,11 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
`(modify-phases ,phases
;; binaryen was replaced with LLD project from LLVM
(delete 'dont-build-native)
+ (replace 'check
+ (lambda* _
+ ;; Enable parallel execution.
+ (invoke "./x.py" (string-append "-j" (number->string (parallel-job-count))) "test" "-vv")
+ (invoke "./x.py" (string-append "-j" (number->string (parallel-job-count))) "test" "src/tools/cargo")))
(replace 'remove-unsupported-tests
(lambda* _
;; Our ld-wrapper cannot process non-UTF8 bytes in LIBRARY_PATH.
next reply other threads:[~2019-04-03 17:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 17:00 Danny Milosavljevic [this message]
2019-04-04 0:52 ` [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26 Ivan Petkov
2019-04-04 18:29 ` Danny Milosavljevic
2019-04-04 21:59 ` Ivan Petkov
2019-04-05 14:11 ` Danny Milosavljevic
2019-04-05 15:36 ` Ivan Petkov
2019-04-06 10:48 ` Danny Milosavljevic
2019-04-06 16:09 ` Ivan Petkov
2019-04-08 1:43 ` Ivan Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190403170044.21420-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=35126@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.