From 025b19607e6720d9d3afbac4553ac5a6f770b28d Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 20 Apr 2023 01:59:54 +0200 Subject: app-emacs/shrink-path: use elisp-enable-tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/shrink-path/shrink-path-0.3.1.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'app-emacs/shrink-path') 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 -} -- cgit v1.2.3-65-gdbad