From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:39357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBjH2-0000t1-UU for guix-patches@gnu.org; Wed, 03 Apr 2019 13:02:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBjH1-0006kp-AB for guix-patches@gnu.org; Wed, 03 Apr 2019 13:02:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBjH0-0006jI-Da for guix-patches@gnu.org; Wed, 03 Apr 2019 13:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBjH0-0005Gs-7U for guix-patches@gnu.org; Wed, 03 Apr 2019 13:02:02 -0400 Subject: [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:38975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBjFt-0000Oa-Jv for guix-patches@gnu.org; Wed, 03 Apr 2019 13:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBjFs-0003u2-BG for guix-patches@gnu.org; Wed, 03 Apr 2019 13:00:53 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:36008) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBjFs-0003rk-2W for guix-patches@gnu.org; Wed, 03 Apr 2019 13:00:52 -0400 From: Danny Milosavljevic Date: Wed, 3 Apr 2019 19:00:44 +0200 Message-Id: <20190403170044.21420-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35126@debbugs.gnu.org * 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 =3D \"" 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 (p= arallel-job-count))) "test" "-vv") + (invoke "./x.py" (string-append "-j" (number->string (p= arallel-job-count))) "test" "src/tools/cargo"))) (replace 'remove-unsupported-tests (lambda* _ ;; Our ld-wrapper cannot process non-UTF8 bytes in LIBR= ARY_PATH.