summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-04 12:52:57 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-18 02:35:47 +0200
commit985fc30ae5bbbdd11c1c8f321f8e9118aac64c47 (patch)
tree1cbfb54f28ab37ce4c74777780ec59da407c8df1 /app-emacs/doom-modeline
parentapp-emacs/bnf-mode: use elisp-enable-tests (diff)
downloadgentoo-985fc30ae5bbbdd11c1c8f321f8e9118aac64c47.tar.gz
gentoo-985fc30ae5bbbdd11c1c8f321f8e9118aac64c47.tar.bz2
gentoo-985fc30ae5bbbdd11c1c8f321f8e9118aac64c47.zip
app-emacs/doom-modeline: use elisp-enable-tests
Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/doom-modeline')
-rw-r--r--app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild b/app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild
index 3c29bcf81e15..6740287569c1 100644
--- a/app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild
+++ b/app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild
@@ -25,15 +25,9 @@ RDEPEND="
"
BDEPEND="${RDEPEND}"
+elisp-enable-tests ert test
+
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
-
-src_test() {
- ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
- -L . -L test \
- -l test/${PN}-core-test.el \
- -l test/${PN}-env-test.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-}