[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26.
From: |
Danny Milosavljevic |
Subject: |
[bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26. |
Date: |
Wed, 3 Apr 2019 19:00:44 +0200 |
* 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.
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26.,
Danny Milosavljevic <=
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Ivan Petkov, 2019/04/03
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Danny Milosavljevic, 2019/04/04
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Ivan Petkov, 2019/04/04
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Danny Milosavljevic, 2019/04/05
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Ivan Petkov, 2019/04/05
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Danny Milosavljevic, 2019/04/06
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Ivan Petkov, 2019/04/06
- [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26., Ivan Petkov, 2019/04/07