commit:     985fc30ae5bbbdd11c1c8f321f8e9118aac64c47
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 10:52:57 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 00:35:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985fc30a

app-emacs/doom-modeline: use elisp-enable-tests

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

 app-emacs/doom-modeline/doom-modeline-3.3.2.ebuild | 10 ++--------
 1 file 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"
-}

Reply via email to