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

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
---
 app-emacs/php-mode/php-mode-1.24.3.ebuild | 6 ++++--
 1 file 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 3b027aa01..66ad92fae 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
 }
-- 
2.39.2



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

only message in thread, other threads:[~2023-04-04 15:04 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:03 [gentoo-dev] [PATCH 5/9] app-emacs/php-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