summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-03 18:41:51 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-18 02:35:46 +0200
commit31294c5e6974ac9d9a1e7140946567c6374e4ea3 (patch)
tree35df2f6abffbeddef8176fe3de001f9c3fc7ec5d /app-emacs/php-mode
parentapp-emacs/lsp-mode: use elisp-enable-tests (diff)
downloadgentoo-31294c5e6974ac9d9a1e7140946567c6374e4ea3.tar.gz
gentoo-31294c5e6974ac9d9a1e7140946567c6374e4ea3.tar.bz2
gentoo-31294c5e6974ac9d9a1e7140946567c6374e4ea3.zip
app-emacs/php-mode: use elisp-enable-tests
Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/php-mode')
-rw-r--r--app-emacs/php-mode/php-mode-1.24.3.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-emacs/php-mode/php-mode-1.24.3.ebuild b/app-emacs/php-mode/php-mode-1.24.3.ebuild
index 3b027aa017cb..66ad92fae09b 100644
--- a/app-emacs/php-mode/php-mode-1.24.3.ebuild
+++ b/app-emacs/php-mode/php-mode-1.24.3.ebuild
@@ -18,8 +18,10 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
DOCS=( ../AUTHORS.md ../CHANGELOG.md ../CONTRIBUTING.md ../README{,.ja}.md ../docs )
SITEFILE="50${PN}-gentoo.el"
+elisp-enable-tests ert "${S}" -L ../tests -l ../tests/php-mode-test.el
+
src_test() {
touch ../tests/project/1/.git || die
- ${EMACS} ${EMACSFLAGS} -L . -L ../tests -l ../tests/php-mode-test.el \
- -f ert-run-tests-batch-and-exit || die "tests run failed"
+
+ elisp_src_test
}