commit:     ce86dbf39676ef14fb30016fd101aff4579bfe2d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 10:44:25 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 00:35:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce86dbf3

app-emacs/bnf-mode: use elisp-enable-tests

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

 app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild 
b/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
index 32d732fa617a..e3760e5fa4ec 100644
--- a/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
+++ b/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
@@ -13,20 +13,11 @@ 
SRC_URI="https://github.com/sergeyklay/${PN}/archive/${PV}.tar.gz
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-BDEPEND="
-       test? (
-               app-emacs/buttercup
-               app-emacs/undercover
-       )
-"
+BDEPEND="test? ( app-emacs/undercover )"
 
 DOCS=( NEWS README.org )
 ELISP_TEXINFO="bnf-mode.texi"
 SITEFILE="50${PN}-gentoo.el"
 
-src_test() {
-       buttercup -L . -L test --traceback full || die
-}
+elisp-enable-tests buttercup test

Reply via email to