commit:     c00cbb0fd908bf6095d08d5b8710dba6523ba1f2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 15:13:47 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 15:13:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00cbb0f

app-emacs/use-package: fix tests

Closes: https://bugs.gentoo.org/839780
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 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
 

Reply via email to