unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26.
@ 2019-04-03 17:00 Danny Milosavljevic
  2019-04-04  0:52 ` Ivan Petkov
  0 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2019-04-03 17:00 UTC (permalink / raw)
  To: 35126

* 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.

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-08  1:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 17:00 [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26 Danny Milosavljevic
2019-04-04  0:52 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).