unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 66016@debbugs.gnu.org
Cc: andrew@trop.in, liliana.prikler@gmail.com
Subject: [bug#66016] [PATCH emacs-team 3/7] gnu: emacs-elfeed-org: Fix build.
Date: Fri, 15 Sep 2023 20:35:59 +0200	[thread overview]
Message-ID: <66abcaacde92ea2aa92546a1cb6d11311dab161f.1694805224.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1694805224.git.liliana.prikler@gmail.com>

* gnu/packages/emacs-xyz.scm (emacs-elfeed-org)[#:phases]: Add ‘xt-number-tests’.
---
 gnu/packages/emacs-xyz.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b15b769103..95217aea1a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13840,7 +13840,22 @@ (define-public emacs-elfeed-org
          (modify-phases %standard-phases
            (add-before 'check 'chmod
              (lambda _
-               (chmod "test/fixture-mark-feed-ignore.org" #o644))))))
+               (chmod "test/fixture-mark-feed-ignore.org" #o644)))
+           (add-before 'check 'xt-number-tests
+             (lambda _
+               ((lambda (file test-name)     ; variant of ert-number-tests
+                  (emacs-batch-edit-file file
+                    `(let ((i 0))
+                       (while (re-search-forward ,(string-append "xt-deftest "
+                                                                 test-name)
+                                                 nil t)
+                         (goto-char (match-beginning 0))
+                         (kill-region (match-beginning 0) (match-end 0))
+                         (insert (format "xt-deftest %s-%d" ,test-name i))
+                         (setq i (+ i 1)))
+                       (basic-save-buffer))))
+                "test/elfeed-org-test.el"
+                "rmh-elfeed-org-convert-headline-to-tagger-params"))))))
       (propagated-inputs
        (list emacs-elfeed emacs-org emacs-dash emacs-s))
       (native-inputs
-- 
2.41.0





  parent reply	other threads:[~2023-09-15 19:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 19:13 [bug#66016] [PATCH emacs-team 0/7] Fix failing builds Liliana Marie Prikler
2023-09-15 17:18 ` [bug#66016] [PATCH emacs-team 1/7] gnu: emacs-go-mode: Fix build Liliana Marie Prikler
2023-09-15 18:17 ` [bug#66016] [PATCH emacs-team 2/7] gnu: emacs-lispy: " Liliana Marie Prikler
2023-09-15 18:35 ` Liliana Marie Prikler [this message]
2023-09-15 18:43 ` [bug#66016] [PATCH emacs-team 4/7] gnu: emacs-matcha: Update to 0.0.1-2.dc4a940 Liliana Marie Prikler
2023-09-15 18:48 ` [bug#66016] [PATCH emacs-team 5/7] gnu: emacs-ob-go: Fix build Liliana Marie Prikler
2023-09-15 19:03 ` [bug#66016] [PATCH emacs-team 6/7] gnu: emacs-pyvenv: " Liliana Marie Prikler
2023-09-15 19:11 ` [bug#66016] [PATCH emacs-team 7/7] gnu: emacs-rjsx-mode: " Liliana Marie Prikler
2023-09-22 23:27   ` bug#66016: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66abcaacde92ea2aa92546a1cb6d11311dab161f.1694805224.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=66016@debbugs.gnu.org \
    --cc=andrew@trop.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).