From c00cbb0fd908bf6095d08d5b8710dba6523ba1f2 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 21 Apr 2022 17:13:47 +0200 Subject: app-emacs/use-package: fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/839780 Signed-off-by: Maciej Barć --- app-emacs/use-package/use-package-2.4.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-emacs/use-package/use-package-2.4.1.ebuild b/app-emacs/use-package/use-package-2.4.1.ebuild index 654d57b3022e..1e8087eb52ae 100644 --- a/app-emacs/use-package/use-package-2.4.1.ebuild +++ b/app-emacs/use-package/use-package-2.4.1.ebuild @@ -32,6 +32,10 @@ PATCHES=( "${FILESDIR}"/${PN}-require-diminish.patch ) ELISP_TEXINFO="${PN}.texi" SITEFILE="50${PN}-gentoo.el" +src_test() { + emake BATCH="${EMACS} ${EMACSFLAGS} -L . -l diminish" test +} + src_install() { rm bind-{chord,key}.el{,c} ${PN}-tests.el || die -- cgit v1.2.3-65-gdbad