diff options
Diffstat (limited to 'app-emacs/go-mode/go-mode-1.6.0.ebuild')
-rw-r--r-- | app-emacs/go-mode/go-mode-1.6.0.ebuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/app-emacs/go-mode/go-mode-1.6.0.ebuild b/app-emacs/go-mode/go-mode-1.6.0.ebuild index 76def2ac8579..df816afc4593 100644 --- a/app-emacs/go-mode/go-mode-1.6.0.ebuild +++ b/app-emacs/go-mode/go-mode-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,13 +17,17 @@ SRC_URI="https://dev.gentoo.org/~matthew/distfiles/${P}.tar.xz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" + +ELISP_REMOVE="test/go-fill-paragraph-test.el" SITEFILE="50${PN}-1.6.0-gentoo.el" DOCS=( README.md ) +elisp-enable-tests ert test + src_prepare() { - default + elisp_src_prepare # fix path to testdata directory when running tests sed -i 's|testdata|test/&|g' \ @@ -34,14 +38,3 @@ src_compile() { elisp_src_compile elisp-make-autoload-file } - -src_test() { - for suite in test/*-test.el; do - ${EMACS} ${EMACSFLAGS} \ - -L . \ - -l ert \ - -l go-mode \ - -l "${suite}" \ - -f ert-run-tests-batch-and-exit || die "test ${suite} failed" - done -} |