commit:     1537333dc3bde9a1d65d1bc59f168af58afa0647
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 07:36:34 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 08:28:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1537333d

app-emacs/go-mode: remove broken tests

Closes: https://bugs.gentoo.org/911298
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/go-mode/go-mode-1.6.0.ebuild | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 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..b87cebc4ea7c 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-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,11 +19,15 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
+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
-}

Reply via email to