gnu: emacs-libgit: Fix build.

* gnu/packages/emacs-xyz.scm (emacs-libgit)[#:phases]: Add ‘ert-number-tests’.
This commit is contained in:
Liliana Marie Prikler 2023-08-19 01:37:53 +02:00
parent 50b2db40ea
commit 51bbc440f4
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1407,6 +1407,10 @@ (define-public emacs-libgit
(substitute* "test/submodule-test.el"
(("\\(ert-deftest (status|ids) .*" all)
(string-append all " (skip-unless nil)")))))
(add-after 'unpack 'ert-number-tests
(lambda _
(ert-number-tests "test/repository-test.el"
"repository-head-for-worktree")))
(add-before 'install 'prepare-for-install
(lambda _
(let ((s "../source"))