public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 7/9] app-emacs/doom-modeline: use elisp-enable-tests
@ 2023-04-04 15:04 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2023-04-04 15:04 UTC (permalink / raw
  To: gentoo-dev; +Cc: gnu-emacs, Maciej Barć

Signed-off-by: Maciej Barć <xgqt@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 3c29bcf81..674028756 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"
-}
-- 
2.39.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-04 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04 15:04 [gentoo-dev] [PATCH 7/9] app-emacs/doom-modeline: use elisp-enable-tests Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox