summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-20 01:32:33 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-20 01:32:33 +0200
commit82ad816549cbc1e45c9e5163b2e78c40bee422a2 (patch)
treebed5cf8015fba041e9e73fad1ad9512758789847 /app-emacs/fsharp-mode
parentapp-emacs/emojify: even with Cask, tests fail (diff)
downloadgentoo-82ad816549cbc1e45c9e5163b2e78c40bee422a2.tar.gz
gentoo-82ad816549cbc1e45c9e5163b2e78c40bee422a2.tar.bz2
gentoo-82ad816549cbc1e45c9e5163b2e78c40bee422a2.zip
app-emacs/fsharp-mode: enable tests
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/fsharp-mode')
-rw-r--r--app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild b/app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild
index f5407ecb598a..38c255fda39b 100644
--- a/app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild
+++ b/app-emacs/fsharp-mode/fsharp-mode-1.10_p20211229.ebuild
@@ -16,11 +16,19 @@ S="${WORKDIR}"/emacs-${PN}-${H}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="test" # requires Cask
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-emacs/s"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+ test? ( app-emacs/buttercup )
+"
DOCS=( CHANGELOG.md README.org )
-ELISP_REMOVE="eglot-fsharp.el"
+ELISP_REMOVE="eglot-fsharp.el test/integration-tests.el"
SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ buttercup -L . -L test --traceback full || die
+}