From patchwork Wed Apr 3 17:00:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 3199 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0B1F516DF7; Wed, 3 Apr 2019 18:02:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9819C16DEC for ; Wed, 3 Apr 2019 18:02:18 +0100 (BST) Received: from localhost ([127.0.0.1]:33856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBjHG-00011G-5n for patchwork@mira.cbaines.net; Wed, 03 Apr 2019 13:02:18 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35126] [PATCH] gnu: rust: Enable parallel tests starting with 1.26. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2019 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35126 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35126@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155431086420186 (code B ref -1); Wed, 03 Apr 2019 17:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 17:01:04 +0000 Received: from localhost ([127.0.0.1]:43159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBjG4-0005FW-GE for submit@debbugs.gnu.org; Wed, 03 Apr 2019 13:01:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBjG2-0005Eo-Jf for submit@debbugs.gnu.org; Wed, 03 Apr 2019 13:01:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:40772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBjFw-00042O-Ss for submit@debbugs.gnu.org; Wed, 03 Apr 2019 13:00:57 -0400 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 Received: from dayas.3.home (77.116.237.44.wireless.dyn.drei.com [77.116.237.44]) by dd26836.kasserver.com (Postfix) with ESMTPSA id D2D0C336043E; Wed, 3 Apr 2019 19:00:50 +0200 (CEST) From: Danny Milosavljevic Date: Wed, 3 Apr 2019 19:00:44 +0200 Message-Id: <20190403170044.21420-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Tags: patch X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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.