summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-04 12:56:08 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-18 02:35:47 +0200
commita287a790b6a9cbd161414cad2be1d0e01a619572 (patch)
tree782aecd3b2e9f143f0c37c00bf37396047ed896c /app-emacs/typescript-mode
parentapp-emacs/doom-modeline: use elisp-enable-tests (diff)
downloadgentoo-a287a790b6a9cbd161414cad2be1d0e01a619572.tar.gz
gentoo-a287a790b6a9cbd161414cad2be1d0e01a619572.tar.bz2
gentoo-a287a790b6a9cbd161414cad2be1d0e01a619572.zip
app-emacs/typescript-mode: use elisp-enable-tests
Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/typescript-mode')
-rw-r--r--app-emacs/typescript-mode/typescript-mode-0.4.ebuild7
1 files 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 901e8cfeed71..9adf1b44fa5d 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}"