From patchwork Sun Oct 6 23:59:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68693 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 A9E0927BBEC; Mon, 7 Oct 2024 01:04:19 +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.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=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 0A2DD27BBE2 for ; Mon, 7 Oct 2024 01:04:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbDl-0006H1-O6; Sun, 06 Oct 2024 20:03:30 -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 1sxbDX-00060x-SR for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:16 -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 1sxbDV-0001Ij-TC for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:14 -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=Jh2ycsj9XaMb/kPPCP/NShi/IN4tjtnsjZXVsQxbs/4B4WYcvXsEcUp98Cm4kYlCWdbPobXJB4uAe23a90XVhqFru8pw394P6Oee8LbweHO1j3FsPDDYBwH/fVzf/5XwrInorPC4JSJzW0z4DbloRlYzM5kgKWuRdUS8stBS1jxEyvYiT1No1HVbU2DSjswKw/2Z3goyoInPIG28FtzsKs+HMepNE0kh8pguxMB26w987lxsOVZA50WhVk71Bp/pzVKoUdjWocLxir6IFuw7iBnWVeW8IG1V5tiXP1yEptXYrhs3f5VXE6ODR+JCaLH3KT/ATIBYwyNSnfWubOTxDw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbDc-0002Ro-Aj for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 56/96] 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 00:03:20 +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.17282593979347 (code B ref 67902); Mon, 07 Oct 2024 00:03:20 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:03:17 +0000 Received: from localhost ([127.0.0.1]:43208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDX-0002QK-S3 for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:16 -0400 Received: from 1.mo576.mail-out.ovh.net ([178.33.251.173]:45445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDT-0002Op-3i for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:11 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.25.252]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XMK9M6kh1z1rhh for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:03:03 +0000 (UTC) Received: from ghost-submission-55b549bf7b-bsc9t (unknown [10.108.54.213]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AA4CB1FD4B; Mon, 7 Oct 2024 00:03:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-55b549bf7b-bsc9t with ESMTPSA id q4vGGDclA2fr5QIAjWFqZQ (envelope-from ); Mon, 07 Oct 2024 00:03:03 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G006b72d4c22-3ed2-469e-8b28-4476293d7672, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 01:59:51 +0200 Message-ID: <20241007000046.25625-56-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007000046.25625-1-ngraves@ngraves.fr> References: <20241007000046.25625-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2681612106523468514 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheekudejgfdtudeihffgiedvjeekffethfeiieevudegffejjefggfekffeiteeinecuffhomhgrihhnpehshihmfhhonhihrdgtohhmpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=kWtmnDPTN40WF+uyj5GRIDrMdnS7623rMJIwA/vqkRQ=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259384; v=1; b=aSTm+6I9DJuM6DA0Q6zuYkVyvScH3o4iwow/1lmkv2gSIpIWrUHHwcLnocRFfc1n3DG0Akxq 2v60AX4U5uzHu6Im/vTmx26MUeJsaxndMzJVQ7m6NeX8jQ7uWLVK9ztVCPWwGyK0ERUew26o2aa ptLM1aWy265TmmX3mg/Z/Met334Wh9bwrW5dsMk5yYo/U1Kb2AD7vJu4ee1Ah55xp3BI6VO5I8B YlF91bJYOXP0EOt81D/RY/DpVPAgPHciDt+x7NOKXuikTJBWhMNdKDJiIcpzYvipJsL4iZu7J0P MigkOpGTqV9o34m9lZeIRnkHqHNV1FZFuSqz+DTXZNChQ== 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))) +