mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: emacs-elfeed-org: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-elfeed-org)[#:phases]: Add ‘xt-number-tests’.
This commit is contained in:
parent
187f642998
commit
66abcaacde
1 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue