From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GHBAAPAovmT3CwAASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 09:32:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sEYnAPAovmTEDAEAauVa8A (envelope-from ) for ; Mon, 24 Jul 2023 09:32:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B2F2F4F69C for ; Mon, 24 Jul 2023 09:31:59 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=iIJWkVPh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690183919; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+wKN6cflOvIEN8I+paTXhiJmiov5k2ONELGQudQ2ja8=; b=lGTJl1rCk+Jv8L6YGU2EiTghV2VSWCQuA+WqmdzvoqMH8aVyu3VLesUX7jaDxO5Gnzgdg7 QAvN5aHa2Mbt7GBXg09ov0CKQ9B37nCiQImvxfAVxO1Mt6fyswDzhWCUYVBpp+Y0uCReNB rWqTA5GdyQPuz/bZnud+sfxr5NPZx7bGh+j3+3OrsFFY9ypXpDJ0xYsPjGw9JN+YQHw+3R WYnR/zwJZ2CnIk5FSfmSVk/qJw5tjXujzks/NZWSTlaehAGGg0Eubbdt6kb5CWk1QStf7e OvmwJkVO+xFYrmizpjav3LqqAPaHJ67AgmFJTkP3LbScJLhbPFfvvbq93NbTIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690183919; a=rsa-sha256; cv=none; b=VjdniWWyEvYdHALSZY/si6wCic5vooV+c6Uwvmhh2uR3cm3nISpKYMCe1/od71eOO98+Zl DvK0sM+a6P9ON/oWZsu9oicue0lgbd/b4QzF9UGi+e4q9sx9cBwz5L1PSliqUYRmMUQuMn WHQnslX3Agm3Rx9j4xGvv/2ov9ELx4eqmZapdtxa0t6E+MmNdiWsAHgBVQ0KbX5mizXOQ/ LuWr++4oN02ICIIC9IuOy31KMAp8+auEWpHSlZS/bYPEYOyBdEEUJNWx3pmX5UWTB9W1oK Mw3J03FLMpYnRouiIYm9Lsj6M1y15YldH0S0OJES3/AlFGKzLpatFycRaDXU3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=iIJWkVPh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNq27-0001Hq-Sc; Mon, 24 Jul 2023 03:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNq26-0001GV-7x for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNq25-00070k-UH for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNq25-00072x-Qo for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64804] [PATCH 4/5] gnu: rust: Add make-ignore-test-list function. Resent-From: Fries Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 07:31:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64804 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64804@debbugs.gnu.org Cc: Fries , efraim@flashner.co.il, juli@incana.org Received: via spool by 64804-submit@debbugs.gnu.org id=B64804.169018383126967 (code B ref 64804); Mon, 24 Jul 2023 07:31:05 +0000 Received: (at 64804) by debbugs.gnu.org; 24 Jul 2023 07:30:31 +0000 Received: from localhost ([127.0.0.1]:41630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNq1X-00070n-6e for submit@debbugs.gnu.org; Mon, 24 Jul 2023 03:30:31 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]:57171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNoFj-000405-Vy for 64804@debbugs.gnu.org; Mon, 24 Jul 2023 01:37:04 -0400 Date: Mon, 24 Jul 2023 05:36:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1690177018; x=1690436218; bh=+wKN6cflOvIEN8I+paTXhiJmiov5k2ONELGQudQ2ja8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=iIJWkVPhtgsBm7wxxhOO2RnKlY0yHf5cg8ihwWGZLkTF7Xxy+aarf09raIHFmCZ78 +P5UAdtTryjvuxQt6s1XRrOAXOZlUQBq0yjQXPA3yco4txrpj8zGwn/ePAmhFaD6ur 3Vdi4L4vGrpSgG/e8HafvoPmWNtXDFQNK2Y7JNtjZgvmI9vHdCLR99K20V0g1Nn9DJ GHUz0wGA5Z7qG1S+ZVQkS6PqS8mljnakEOOXcuCajnT/wu6MRvMx5f96Qp0VEc9VHj AkzFEoQIkR4pkDkAvVOamyZz+IJBlmUt0HFldS6+qyAPMblEFmY3KuCejUjzyWPLJs rMcBIV84mJSIw== Message-ID: <9eb96ab85434faded1d37f78185763cd29fbb8ef.1690176958.git.fries1234@protonmail.com> In-Reply-To: References: Feedback-ID: 42759890:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 24 Jul 2023 03:30:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Fries X-ACL-Warn: , Fries via Guix-patches From: Fries via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.16 X-Spam-Score: -5.16 X-Migadu-Queue-Id: B2F2F4F69C X-Migadu-Scanner: mx1.migadu.com X-TUID: Rs8LUjktltgr A little helper function to make creating a list to ignore tests easier. * gnu/packages/rust.scm (make-ignore-test-list): New symbol. --- gnu/packages/rust.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index b65390c97c..03681d55ac 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -123,6 +123,12 @@ (define* (rust-bootstrapped-package base-rust version = checksum) (alist-replace "rustc-bootstrap" (list base-rust) (package-native-inputs base-rust)))))) =20 +(define (make-ignore-test-list strs) + "Function to make creating a list to ignore tests a bit easier." + (map (lambda (str) + `((,str) (string-append "#[ignore]\n" ,str))) + strs)) + ;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's desig= ned ;;; to be used in source form. (define %mrustc-commit "597593aba86fa2edbea80c6e09f0b1b2a480722d") --=20 2.41.0