From patchwork Mon Oct 7 21:44:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68809 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 C5F7A27BBE2; Mon, 7 Oct 2024 22:48:21 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E028D27BBEA for ; Mon, 7 Oct 2024 22:48:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvaL-0003za-VK; Mon, 07 Oct 2024 17:48:10 -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 1sxvaF-0003iu-4i for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:03 -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 1sxvaE-0004go-Sl for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:02 -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:References:In-Reply-To:Date:From:To:Subject; bh=kWtmnDPTN40WF+uyj5GRIDrMdnS7623rMJIwA/vqkRQ=; b=WLS5/2+2qstKTE4qp8nIu5rWF5bRGTT/Xr9J3mex0AIzkElBv3kNx0DEfoqNpjeiOT+JLTZgfElAZstuFxWTbmHiSkhj8OJe5qbt7AvkgyPLB5XGyr0hmGra7Y7CEi1y+l5i+KpjcYs11ypKIyh9T13hNN62KqjQzTRLt7CEqKIveHgweMoUAsOGSL3sNC6UVX7vL4FJZdXWZDIWVDU+l3Z0FQSRv0gQ6Jnswj+M/rP+GkOje9txE7ALyR6SFNjRGEaNX5Sxr0mnyIZCHEpO3jj4/cWhowIB896qVxkOnry5rqks5LDktIUiYaM5nWnWRdXke/LuLOujvA8TovUdGw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxvaM-0006pC-IB for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 56/98] gnu: Add php-cache-integration-tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 21:48:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.172833766825962 (code B ref 67902); Mon, 07 Oct 2024 21:48:10 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:47:48 +0000 Received: from localhost ([127.0.0.1]:48903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxva0-0006kf-8e for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:48 -0400 Received: from 16.mo550.mail-out.ovh.net ([178.33.104.224]:52367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvZy-0006kL-Aa for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:46 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.176.14]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XMt6d6RF3z1Rbk for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:47:37 +0000 (UTC) Received: from ghost-submission-55b549bf7b-rww2v (unknown [10.110.113.68]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BF02A1FE5E; Mon, 7 Oct 2024 21:47:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-55b549bf7b-rww2v with ESMTPSA id FuWgKPlWBGeSVQoAjlCR8Q (envelope-from ); Mon, 07 Oct 2024 21:47:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G003454fc3ef-8974-4e16-bcbb-2e3714f454e2, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:44:24 +0200 Message-ID: <20241007214530.4420-56-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007214530.4420-1-ngraves@ngraves.fr> References: <20241007214530.4420-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6267040357173945058 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheekudejgfdtudeihffgiedvjeekffethfeiieevudegffejjefggfekffeiteeinecuffhomhgrihhnpehshihmfhhonhihrdgtohhmpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeeltddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=kWtmnDPTN40WF+uyj5GRIDrMdnS7623rMJIwA/vqkRQ=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337658; v=1; b=udNpFEo6gvYRjR0QsALSR7uDp3vu3lQ6zpT4TKXDpuNJnkH1nsW9F+jUJJ423xGhrRj534xq EMsj213wy8DnFMh9fzyuuCSFhMcJAD5f1wVaC+8i+6C4cs+UmOndkT6Vk7Uq/fK7un2Uq6ZWK+Y bfbAzX7TOD5tNHwkQqTjrqSrxMEsoJea5rvjjpSjaScmd/9i/+vAIqPRK/7mATf7jL67QC0afRz ehev+jRdeAx36qbRBRmWxZYzXD4l4yasfiB7dUaDP0Ur3nPbEIqYdGKfjqpdI00uZAEupV4Ao8W kC3p8P6owjAnkHfQ4VApCzhNZWSceK288P/7uH8rGGQ1g== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/php-xyz.scm (php-cache-integration-tests): New variable. Change-Id: I561d088a95cdcb8629a7e6cab9503be7cf658492 --- gnu/packages/php-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index c0342817da..2a03fd6ee4 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -1393,3 +1393,45 @@ (define-public php-symfony-cache (home-page "https://symfony.com") (license license:expat))) +(define-public php-cache-integration-tests + (package + (name "php-cache-integration-tests") + (version "0.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/php-cache/integration-tests") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i079z0jmcji4kn9mcxdv2093ypcd6albwkhhkiv39py31bjdpgg")))) + (build-system composer-build-system) + (arguments + (list + #:test-flags ''("--testsuite" "Symfony") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + ;; Adapt phpunit config to Guix context. + (substitute* "phpunit.xml.dist" + (("\\./vendor/symfony/cache") + (string-append + #$(this-package-native-input "php-symfony-cache") + "/share/web/symfony/cache")))))))) + (inputs + (list php-psr-cache php-cache-tag-interop)) + (native-inputs + (list php-phpunit-phpunit + (package/inherit php-symfony-cache + (arguments '(#:tests? #f)) + (native-inputs '())) + php-symfony-filesystem + php-symfony-phpunit-bridge)) + (synopsis "PHP integration tests") + (description "This package provides PHP integration tests for PSR-6 and +PSR-16 cache implementations.") + (home-page "https://github.com/php-cache/integration-tests") + (license license:expat))) +