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

diff --git a/app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild b/app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild
index 2855d703f..8b7c6ad12 100644
--- a/app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild
+++ b/app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild
@@ -16,8 +16,6 @@ S="${WORKDIR}"/${PN}-${COMMIT}
 LICENSE="GPL-3+"
 KEYWORDS="amd64"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=app-emacs/dash-2.18.0
@@ -33,7 +31,6 @@ BDEPEND="
 		app-emacs/deferred
 		app-emacs/ecukes
 		app-emacs/el-mock
-		app-emacs/ert-runner
 		app-emacs/espuds
 		app-emacs/flycheck
 		app-emacs/undercover
@@ -46,15 +43,13 @@ ELISP_REMOVE="test/lsp-clangd-test.el test/lsp-common-test.el
 	test/lsp-integration-test.el"  # Remove failing tests
 SITEFILE="50${PN}-gentoo.el"
 
+elisp-enable-tests ert-runner "${S}" -t "!no-win" -t "!org"
+
 src_compile() {
 	elisp_src_compile
 	elisp-compile clients/*.el
 }
 
-src_test() {
-	ert-runner -L clients --reporter ert+duration -t "!no-win" -t "!org" || die
-}
-
 src_install() {
 	elisp_src_install
 	elisp-install ${PN}/clients clients/*
-- 
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 4/9] app-emacs/lsp-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