[bug#76872,rust-team,7/9] gnu: cargo-build-system: check: Add required cargo test string if null.
Message ID | 20250308165105.2398551-7-aaron.covrig.us@ieee.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 589EB27BBE9; Sat, 8 Mar 2025 16:53:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 217DD27BBE2 for <patchwork@mira.cbaines.net>; Sat, 8 Mar 2025 16:53:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tqxQ9-0002bP-MV; Sat, 08 Mar 2025 11:53:05 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tqxQ7-0002ac-Fu for guix-patches@gnu.org; Sat, 08 Mar 2025 11:53:03 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tqxQ7-00011n-0X for guix-patches@gnu.org; Sat, 08 Mar 2025 11:53:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=SSmLQ8/4dVSr9uKf2gYc8HD55ebaIbLxYMsdlNS7oE0=; b=R9zw3B80WgdYXcS3djMn2183/zU2SStDDVh3jmTU1xjV+xMzSRwT5MyOpcwXgY10fn0e5ikKT3KXD2bDbLcdopk7HadobS73KO6hvTaTsbJZj2onzrtlk4otNvvse6spl1wUc8MXZbB4WqcQ3eNuPVHrvv1M7wrvx2IpHdlt7rSJDqJySWKkk0qD+JXeQCwm+NPM33N2aBJ+Ba+2bopRQ4anoaDThjlHEIMmrVQPhzbSJBO4M5C9uH2sNgZvEtk4ZtbrHAER43r9T1mDAPUT6aN9V9OvlJLe2FEsXjDZbERyFe0S0rbCnZeGKel5ben/lFOwHyEC19Lq1rtvUGQGZg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tqxQ5-000312-Ok; Sat, 08 Mar 2025 11:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team 7/9] gnu: cargo-build-system: check: Add required cargo test string if null. Resent-From: Aaron Covrig <aaron.covrig.us@ieee.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sat, 08 Mar 2025 16:53:01 +0000 Resent-Message-ID: <handler.76872.B76872.174145272711489@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76872@debbugs.gnu.org Cc: Aaron Covrig <aaron.covrig.us@ieee.org>, divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net X-Debbugs-Original-Xcc: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net Received: via spool by 76872-submit@debbugs.gnu.org id=B76872.174145272711489 (code B ref 76872); Sat, 08 Mar 2025 16:53:01 +0000 Received: (at 76872) by debbugs.gnu.org; 8 Mar 2025 16:52:07 +0000 Received: from localhost ([127.0.0.1]:56434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tqxPC-0002zE-LR for submit@debbugs.gnu.org; Sat, 08 Mar 2025 11:52:07 -0500 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:49269) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaron.covrig.us@ieee.org>) id 1tqxPA-0002xS-1P for 76872@debbugs.gnu.org; Sat, 08 Mar 2025 11:52:04 -0500 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7c0e135e953so304467585a.2 for <76872@debbugs.gnu.org>; Sat, 08 Mar 2025 08:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1741452717; x=1742057517; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SSmLQ8/4dVSr9uKf2gYc8HD55ebaIbLxYMsdlNS7oE0=; b=WFU7WuHAuxWhaAH8FrfDliwS79jEtmkGS9bfTiH3B7Uw+oWdirOBbTH6HEVUgelRSO FnEQ3ypkxrrGJrZU191WdjMg6+BvItGhJvJgTVdPoGZ/hDsjNBhZjZ8si4X0QfSpGHO4 7LXHi0NADvUY3jPxYnw/6FauUEVnQby9kmk5M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741452717; x=1742057517; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SSmLQ8/4dVSr9uKf2gYc8HD55ebaIbLxYMsdlNS7oE0=; b=URN7rP0cMOsGr4H8n3EYGJ2/3Q6I94BPbYExM2AXmQGC2SlDO72LGR3+tfHcg3tg33 J4LWyuTp0m+axQCTxsf+JwxhJamCysuVjA2/cQi1cn7x1N6l3LjC/tmqyd/kGEYQF+OR Ul8rMUK8yTcbVOQSKvciY1/JWIL5R95cJ5G1eDzxUcwhUB9Gkdab9Kc8O90H6XQf6S4Y 6Z4Rtwv/6QPe7WTObn46drcd97GcaCN1wDukMMXXOcICG+aqEJzGmxPyQd2zDEnTFEwX NmXsB87WZ0yhJU+MKuHAJPVILhqIYUOVW3UcZiO404ybSEBLNFrniatZ05WS0StsDSgD HvWg== X-Gm-Message-State: AOJu0YzgNCt+TsioRRpGi12IHObnbsh8B52WeHItOEDlozaidUPdZn6V qKrj8rFdXdNHvqDZhGQZ5uYIviDcrUAtHC6DojFnu5ELk02K/PMY7Ubmkv7g6JpvfOVDtcXaeEm QmFQGq6nmV+0lI//8gp1r67weGbvipMviba6MFgmN5pezA2jLmRA06rBDINoEuq6BNrSgNj3W4j OHNN+Vox3QKjwGBGBmn9K5k8BV//gczCirt5XAL6Y= X-Gm-Gg: ASbGncv2RtzQrxnEs32l+oPzx+29W8Yo8I7L4ebpvd01jK+cD0Ahr7WdhnNBMkqKnLX Od5Y3PyLETts9N1WFBeDoCaWeur5aHjsqNr8DrTbvD3u5s9ENnPde0BSnOQcWw0pcek7qyhFYdO R0KR1q11K+XutpjebgoRK4Tlkc4c3NLjtmqENQeUeqzLTA2/f0EaM/QvnpDLgI4KWLFDxvmga3Y qLXrES7vT4NJqsj6Pgo16lc2NTd3nAGBFFF4w2R+fF44okj7zvttRIWKHKo3EIIxw1dWmVLiyKw y9eOPnwckMxuS4toRi6BcSUPuYZzOcvbNBNJ7orxrTP9UEQi0ffJXagBWCPdRmPFG+vvx0rj4kb Ahdpm7Vy664k9DENA2aYh1wjjimimxaUbRf/mPGjblTzxOg== X-Google-Smtp-Source: AGHT+IFWaqIzh+qqNIGYAHagaS4Qw13Oa591Fhmkn7k8Kb5xyxi//qzA0dzF3CBFOW11xHmUGZx+bA== X-Received: by 2002:a05:6214:d49:b0:6e8:9866:7398 with SMTP id 6a1803df08f44-6e900605653mr101103346d6.22.1741452717466; Sat, 08 Mar 2025 08:51:57 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e8f7090904sm32854306d6.28.2025.03.08.08.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 08:51:57 -0800 (PST) Date: Sat, 8 Mar 2025 11:50:52 -0500 Message-ID: <20250308165105.2398551-7-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250308165105.2398551-1-aaron.covrig.us@ieee.org> References: <20250308165105.2398551-1-aaron.covrig.us@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Aaron Covrig <aaron.covrig.us@ieee.org> X-ACL-Warn: , Aaron Covrig via Guix-patches <guix-patches@gnu.org> From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Build fixes and minor updates
|
|
Commit Message
Aaron Covrig
March 8, 2025, 4:50 p.m. UTC
* gnu/build/cargo-build-system.scm (check): Add cargo required '--' if cargo-test-string is `null`. --- guix/build/cargo-build-system.scm | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm index 5ef6b23abd..35d97a4d96 100644 --- a/guix/build/cargo-build-system.scm +++ b/guix/build/cargo-build-system.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2025 Herman Rimm <herman@rimm.ee> +;;; Copyright © 2025 Aaron Covrig <aaron.covrig.us@ieee.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -272,6 +273,9 @@ (define* (check #:key ,@(if (member "--" cargo-test-flags) '() '("--")) + ,@(if (null? cargo-test-flags) + '("--") + '()) ,@(if parallel-tests? (list "--test-threads" (number->string (parallel-job-count)))