public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 8/9] app-emacs/typescript-mode: 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/typescript-mode/typescript-mode-0.4.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/app-emacs/typescript-mode/typescript-mode-0.4.ebuild b/app-emacs/typescript-mode/typescript-mode-0.4.ebuild
index 901e8cfee..9adf1b44f 100644
--- a/app-emacs/typescript-mode/typescript-mode-0.4.ebuild
+++ b/app-emacs/typescript-mode/typescript-mode-0.4.ebuild
@@ -16,15 +16,12 @@ KEYWORDS="~amd64 ~x86"
 
 SITEFILE="50${PN}-gentoo.el"
 
+elisp-enable-tests ert "${S}" -l typescript-mode-tests.el
+
 src_compile() {
 	elisp-compile ${PN}.el
 }
 
-src_test() {
-	${EMACS} ${EMACSFLAGS} -L . -l typescript-mode-tests.el \
-			 -f ert-run-tests-batch-and-exit || die
-}
-
 src_install() {
 	elisp-install ${PN} ${PN}.el{,c}
 	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
-- 
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 8/9] app-emacs/typescript-mode: 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