summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-20 01:59:54 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-20 02:02:59 +0200
commit025b19607e6720d9d3afbac4553ac5a6f770b28d (patch)
treeb951005be078073070a5c66b45b6131904157871
parentapp-emacs/projectile: use elisp-enable-tests (diff)
downloadgentoo-025b19607e6720d9d3afbac4553ac5a6f770b28d.tar.gz
gentoo-025b19607e6720d9d3afbac4553ac5a6f770b28d.tar.bz2
gentoo-025b19607e6720d9d3afbac4553ac5a6f770b28d.zip
app-emacs/shrink-path: use elisp-enable-tests
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/shrink-path/shrink-path-0.3.1.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/app-emacs/shrink-path/shrink-path-0.3.1.ebuild b/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
index c855273dc798..519ca144af61 100644
--- a/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
+++ b/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
@@ -13,29 +13,22 @@ S="${WORKDIR}"/${PN}.el-v${PV}
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
app-emacs/s
app-emacs/dash
app-emacs/f
"
-BDEPEND="
- ${RDEPEND}
- test? ( app-emacs/buttercup )
-"
+BDEPEND="${RDEPEND}"
DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"
+elisp-enable-tests buttercup test
+
src_prepare() {
sed -i 's|it "same as shrink-path"|xit "same as shrink-path"|' \
"${S}"/test/shrink-path-test.el || die
default
}
-
-src_test() {
- buttercup -L . -L test --traceback full test || die
-}