summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-03 18:41:33 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-18 02:35:46 +0200
commit8b9dec33a45387cd264637f208b2a559ae856df0 (patch)
treedd605bfd8c1947a7a53c467305dee6f7a6a3123a /app-emacs/lsp-mode
parentapp-emacs/fsharp-mode: use elisp-enable-tests (diff)
downloadgentoo-8b9dec33a45387cd264637f208b2a559ae856df0.tar.gz
gentoo-8b9dec33a45387cd264637f208b2a559ae856df0.tar.bz2
gentoo-8b9dec33a45387cd264637f208b2a559ae856df0.zip
app-emacs/lsp-mode: use elisp-enable-tests
Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/lsp-mode')
-rw-r--r--app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild9
1 files 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 2855d703f835..8b7c6ad12cda 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/*