From patchwork Tue Sep 3 21:27:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Hogan X-Patchwork-Id: 67571 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 6581027BBE9; Tue, 3 Sep 2024 22:29:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,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 778A927BBE2 for ; Tue, 3 Sep 2024 22:29:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slb5E-0005s1-CU; Tue, 03 Sep 2024 17:29:04 -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 1slb5B-0005rq-CM for guix-patches@gnu.org; Tue, 03 Sep 2024 17:29:01 -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 1slb5A-0007P2-Rn for guix-patches@gnu.org; Tue, 03 Sep 2024 17:29:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=PxbSunT8yH2JRIgt2FK4hVbn1lnHh4PgKENvPII6OtA=; b=sZ6x/uV+rjHO680aKGEFTSTBqTBUzKm/pjfxtK9bUvIqR1FGRX2NKIWSsK94gaY0E0vu+z+yQrIMO3HU1oaHsD/9gJTqZ5DJbKtmbfvmnn7TDnifiAhEeYQFTcb4VIomB+WCTuiQtshN0fhUCKQJPeDoxar/gaxN9zCd6KBzeCKslJlwbuX1GZuf1tmBwHn04J1MXemFb+RgHhKObiwFe48JbjDYLKcePa5p59+asBpW/QLBmZiWxRLNtUMo2LozJAfnBBFAcpqNFVOBpWZRJKj18rVVw13bubmS/bd94za4grq/NTvQX3qs/5BD5feRBrchOMW7Zvi1RpvXSTpeaw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slb6B-0000VX-4Z for guix-patches@gnu.org; Tue, 03 Sep 2024 17:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73011] [PATCH] gnu: go-github-com-elliotchance-orderedmap: Fix tests. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Sep 2024 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73011 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73011@debbugs.gnu.org Cc: Greg Hogan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17253989981913 (code B ref -1); Tue, 03 Sep 2024 21:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Sep 2024 21:29:58 +0000 Received: from localhost ([127.0.0.1]:32896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slb65-0000Un-VC for submit@debbugs.gnu.org; Tue, 03 Sep 2024 17:29:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:54256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slb61-0000Ud-TU for submit@debbugs.gnu.org; Tue, 03 Sep 2024 17:29:56 -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 1slb50-0005nd-F1 for guix-patches@gnu.org; Tue, 03 Sep 2024 17:28:50 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slb4y-0007Nn-9u for guix-patches@gnu.org; Tue, 03 Sep 2024 17:28:49 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-6c36ff6e981so7805666d6.1 for ; Tue, 03 Sep 2024 14:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1725398926; x=1726003726; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PxbSunT8yH2JRIgt2FK4hVbn1lnHh4PgKENvPII6OtA=; b=X/xdfe9fqBOdvqQv8REszbNx23TOhVOQFErbydekMnW+wkrcB80zNH3jMS7xIqEMlp dd6NJE5lxDucaWJx5LJCMzFhDLmaENlTi922vDGfpHvSFC1uR/RICp7rTghSwibmlG1q HYdLT6q4Ocgca6eR9zasHx+qlhoeuwNqRd6kvpS5HhdZvheIOmFDePMvSBfh0nPg3MaT l+17OJ2AkAT+t/XglAvO9TXqUJaxeTmHm+1Lmxs7pcZeFzYEkIxEBmW3sEnCKZKLzqd8 Nt45ANDHqoAO4oajkvtvvXGyAqAFLfnqtfH9TB05MXPyGFnghRTjP09F7tpbe+J0lrym 2bCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725398926; x=1726003726; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PxbSunT8yH2JRIgt2FK4hVbn1lnHh4PgKENvPII6OtA=; b=bjP0T4KGE8X2O1f402J83nXw8ZU1VcKs0Jj1JDSMCV/Qquw8FozNnJ8H/CsgXokJ5T dUlI6HSnb9KZajqBNSxPTteRIM0zxSsf6ujbR13nwvOgqABvD21WRs0e3E3wJkvwm20p QWZRt/fLh7Nhnxc1kidnwaQOP/FNYi06yR7WI12qqdFur9wjlX0akw5MYZtwPaFSknea LEo7Jys3HlKu5QzkkGqTr+Rv5T1Xkd1KHGwvDfTeORiZu/cENTSkcIijjZP+asiKpu4S eBQWJbH/xf/7sjdNgTQhWVzSjPGnIw42dJuGkfezQDQxjwo31RpsxYiTUd0kULMYmwML nXiw== X-Gm-Message-State: AOJu0YyZX1Xo/qVRb/30ihVZaRzRChumopadLCL625uJ0kBiJNoHh7wf 9ux9HVOSoDsMoIw2fmKQt0WpIq3ksDwcIoDWMGM2mFJ9zTKgVtOMAFF9X5qP7ynMsuoxz8Euz4p / X-Google-Smtp-Source: AGHT+IHoT3zTQObQqac6EGQWXz+y6+wKcvy/qU+JC3Gwgg/Ta473CxqH/O88zyl35tsor7dJGkzR2g== X-Received: by 2002:a05:6214:2dc9:b0:6c3:6490:7be8 with SMTP id 6a1803df08f44-6c510cea035mr46530836d6.40.1725398926378; Tue, 03 Sep 2024 14:28:46 -0700 (PDT) Received: from ip-10-114-89-186.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c340bfa6d0sm57775876d6.1.2024.09.03.14.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 14:28:45 -0700 (PDT) From: Greg Hogan Date: Tue, 3 Sep 2024 21:27:47 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::f2b; envelope-from=code@greghogan.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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 * gnu/packages/golang-xyz.scm (go-github-com-elliotchance-orderedmap) [arguments]<#:phases>: Replace 'check and only run short tests so as to exclude flaky performance tests. Change-Id: If9fbc5510643f9d5e3ccff09f71e00a9cdfbe92f --- gnu/packages/golang-xyz.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) base-commit: 19e0b937857563e77841a4fc5433589fa98c810d diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 796341a66bc..6c17d0a74b9 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -2154,7 +2154,15 @@ (define-public go-github-com-elliotchance-orderedmap (base32 "1hhyk96l6mfijkay9ga6jqpczpn34fbqkjrqj3v9pf5p1hzd0xdx")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/elliotchance/orderedmap")) + (list #:import-path "github.com/elliotchance/orderedmap" + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + ;; The full test suite runs flaky performance tests, + ;; so only run the short tests. + (invoke "go" "test" "-test.short" import-path))))))) (native-inputs (list go-github-com-stretchr-testify)) (home-page "https://github.com/elliotchance/orderedmap")