mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-emacs/prop-menu: Fix tests
Closes: https://bugs.gentoo.org/796968 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Matt Smith <matt@offtopica.uk>
This commit is contained in:
@@ -16,3 +16,19 @@ KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/prop-menu-el-${PV}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm Makefile || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
|
||||
-l ert -l prop-menu-tests.el \
|
||||
-f ert-run-tests-batch-and-exit || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} prop-menu.{el,elc}
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user