summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-27 09:36:34 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-27 10:28:45 +0200
commit1537333dc3bde9a1d65d1bc59f168af58afa0647 (patch)
tree1b9f2401fecdfa1617556d1b6f17fb00292c1174
parentx11-misc/xscreensaver: install xscreensaver's systemd user unit (diff)
downloadgentoo-1537333dc3bde9a1d65d1bc59f168af58afa0647.tar.gz
gentoo-1537333dc3bde9a1d65d1bc59f168af58afa0647.tar.bz2
gentoo-1537333dc3bde9a1d65d1bc59f168af58afa0647.zip
app-emacs/go-mode: remove broken tests
Closes: https://bugs.gentoo.org/911298 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/go-mode/go-mode-1.6.0.ebuild19
1 files 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
-}