From patchwork Wed Apr 2 14:42:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhail Singh X-Patchwork-Id: 41203 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 D747C27BBEA; Wed, 2 Apr 2025 23:17:43 +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,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 6B9D527BBE2 for ; Wed, 2 Apr 2025 23:17:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u06Oq-0003l4-Cy; Wed, 02 Apr 2025 18:17:32 -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 1u06OR-0003hp-2u for guix-patches@gnu.org; Wed, 02 Apr 2025 18:17:08 -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 1u06OQ-00016J-F1 for guix-patches@gnu.org; Wed, 02 Apr 2025 18:17:06 -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:In-Reply-To:From:To:References:Subject; bh=BDERvSW4Sb4ZanhszbSh1zXHmgWGjHpDQk26jAMGAHs=; b=P+bF1XS8GL4I9yeR5iIG25ycQVvJraXnI4dAqwoMM3rZHFjxk8vyXItjSOw3pmGCcq3yJWQFfZTQCKAlU60OnIDpkEurwzHq+vuXVPRppGteOixo1dBAx96i3Iq2exKQJmW9Sa+0ALfc6WoybuMii+zhFov5LauvNE5kOvJGooRyeKzLRAemOyOse+TEUvcwSxTwBLy1+sTnUJe3lz5o/69CaOm/ynWC4J69C6esguGpwnOJUo2XaBKRW1LJUP7SKiqOE7Lvau7y+BgNgAZHIIV4s8gkyGc+qlcJ7xglIQ4u+WIQDjV0JDZ3RS8iJs7MH59Nq/fXwxPdFhwEBnR1qg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u06OM-0006Qu-Vq; Wed, 02 Apr 2025 18:17:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77391] [PATCH v4 4/4] gnu: emacs-ellama: Enable tests. References: Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, csantosb@inventati.org, divya@subvertising.org, ian@retrospec.tv, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 02 Apr 2025 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77391@debbugs.gnu.org Cc: Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 77391-submit@debbugs.gnu.org id=B77391.174363219124655 (code B ref 77391); Wed, 02 Apr 2025 22:17:02 +0000 Received: (at 77391) by debbugs.gnu.org; 2 Apr 2025 22:16:31 +0000 Received: from localhost ([127.0.0.1]:59881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u06Nq-0006Pb-HC for submit@debbugs.gnu.org; Wed, 02 Apr 2025 18:16:30 -0400 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]:61830) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u06Np-0006PM-2g for 77391@debbugs.gnu.org; Wed, 02 Apr 2025 18:16:29 -0400 Received: by mail-qv1-xf42.google.com with SMTP id 6a1803df08f44-6ecfc2cb1aaso2579316d6.3 for <77391@debbugs.gnu.org>; Wed, 02 Apr 2025 15:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743632183; x=1744236983; darn=debbugs.gnu.org; h=mime-version:message-id:date:in-reply-to:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=BDERvSW4Sb4ZanhszbSh1zXHmgWGjHpDQk26jAMGAHs=; b=iMDOzdHQ1xtg8EOBSHLkFcEyrKI1AIIkFf3ZQBuL1tH72+QLk12I/hvLChaotwxDga Gp4fEo/7tu+7QZOVHnu1aJPG6iJkoYGQayN0mS8YO83r5Y3hI42VIfyE4EelvABVm7ME 3Gd9sBBa9hsho+WnjFktMKvdbplSTifz10X+bUgXZZG1TfPKkDhFeq4KvTPVunJrFLtZ KnNq3qrXhsmrB6zJNeTyqsLdw1tPTtctv+QK8NoyCZexVTZn6uSa7Mmo4Imo/q5MhQfb cur+G6je9KvSYKW0rMiSOeEUWD69AWYRgaElSAQzknejoDrMCEhrzgIaunxbvAyavoc6 xAGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743632183; x=1744236983; h=mime-version:message-id:date:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BDERvSW4Sb4ZanhszbSh1zXHmgWGjHpDQk26jAMGAHs=; b=wggEliV6LlskH2BFl5Nk5z25tLKpkDjLXN7xfpdPQE/HwAn31JworFRaKN10AsDhwe RI/t+kCjP0SmrBF2U1AAH0Y9U+2ij2NH+N/qSXByq/XHJydiX5llKOeuYREkSavD1SsE vxCOQ4JRdDxb0vUtpEkcy7YpeIm5SQA1N/LjkbtwUPp1gszrujd9MS7/lGUNrDhlYmS/ IQqOoQuM1xmEr1UUu4Yepk5BS75+mu1utFIfbD4tsgYBTOkBCgJItHguSFFVrL/jslSf Os0DKtIkBtn/zhXVN96+GKHyKaTOE/e5BCN3FDTufmfg3WYDKoQ5HsJikhDy8ZSdtH4V FM4g== X-Gm-Message-State: AOJu0Yxg6VhV/mD1DEumpUrETi5hzziOqARuXfhx5abOJNm/K90IM+5K Z6euYbvkJdRAWdv++xK340yGAYcLjtmR9qIYzD+V8rfpmVW10MPR2PPgGtmX X-Gm-Gg: ASbGncvB/yRsue90oCuDd9AjuEDmre8wzNF5GKlUY+nYXCbZ1LWRk305H9HENTVi+My kWLiDmAwb2Z5ar47+LGyNh7KzCAYXUf1935olRpaePVoZA+ukRixsweBy9m0KFKk8cVPwuTYoYa 59Fj9BF4Vp/IMtXCJXTc+QP4v1N8E4Atvh/L5Gj0VOdTmiff6qFALh+9+BQBKbFcoRpLqxEx+Ah oLbyQl4ukK0LrO6TY2Hk4mN8PZDc9Z71oHvCLuSDfoREEMaPbZo1F7GAGEPJDpfc5aXxiVjf6Nh oFJCNSdk2TFEVDAEUa01xNQ8CWngNNyFZCOhwDUuaHrzcmxdwFyUOR4IxGooXdK0OhKfpD2j5Fg bm24qLRk4FBO9Wb1Oufi2ICdEac2sWQ== X-Google-Smtp-Source: AGHT+IFlieWcVkKGMO7dzWxS2gOIXkKXlRYbBXOUwzNjEHhhMhaYrC/9BNt2YAD3hZ7ywClMD+Ym2A== X-Received: by 2002:a05:6214:2507:b0:6e6:61a5:aa4c with SMTP id 6a1803df08f44-6eed629a9admr305071576d6.31.1743632182696; Wed, 02 Apr 2025 15:16:22 -0700 (PDT) Received: from gnus (lnsm2-montreal01-69-158-82-155.internet.virginmobile.ca. [69.158.82.155]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6ef0f00ed5dsm193826d6.31.2025.04.02.15.16.22 for <77391@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Apr 2025 15:16:22 -0700 (PDT) From: "Suhail Singh" In-Reply-To: Date: Wed, 2 Apr 2025 10:42:12 -0400 Message-Id: MIME-Version: 1.0 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/emacs-xyz.scm (emacs-ellama)[arguments]: Enable tests; skip failing. Change-Id: I1b468c7b30ad35ae553d354ef63da2d4d1c056a7 --- gnu/packages/emacs-xyz.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5189ddd5d1..f8324bf00d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5789,6 +5789,19 @@ (define-public emacs-ellama (sha256 (base32 "075bxdy2jzaq4nw2vpzlmxlq3mlvr0dklva5hbpzqm6pvwa2xz1k")))) (build-system emacs-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* (find-files "tests/" "\\.el$") + (("\\(ert-deftest test-ellama-context-element-extract-info-node .*" all) + (string-append all "(skip-unless nil)\n")))))) + #:tests? #t + #:test-command #~(list "emacs" "-Q" "--batch" + "-l" "ellama.el" + "-l" "tests/test-ellama.el" + "-f" "ert-run-tests-batch-and-exit"))) (propagated-inputs (list emacs-compat emacs-llm emacs-plz emacs-transient)) (home-page "https://github.com/s-kostyaev/ellama") (synopsis "Tool for interacting with LLMs")