summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-04 12:44:25 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-18 02:35:46 +0200
commitce86dbf39676ef14fb30016fd101aff4579bfe2d (patch)
tree1885a3ba2f4b51774c182bde0fbf56dd9ca04e1c /app-emacs/bnf-mode
parentapp-emacs/php-mode: use elisp-enable-tests (diff)
downloadgentoo-ce86dbf39676ef14fb30016fd101aff4579bfe2d.tar.gz
gentoo-ce86dbf39676ef14fb30016fd101aff4579bfe2d.tar.bz2
gentoo-ce86dbf39676ef14fb30016fd101aff4579bfe2d.zip
app-emacs/bnf-mode: use elisp-enable-tests
Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/bnf-mode')
-rw-r--r--app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild13
1 files 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