summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-20 14:47:10 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-20 15:21:48 +0200
commit14d2fa5d296638c345084941f811b169205c5081 (patch)
treeecea366852d20fbb6f76af77dfbad5463abfcc46 /app-emacs/ecukes
parentsys-kernel/gentoo-sources: add 5.17.4 and genpatches (diff)
downloadgentoo-14d2fa5d296638c345084941f811b169205c5081.tar.gz
gentoo-14d2fa5d296638c345084941f811b169205c5081.tar.bz2
gentoo-14d2fa5d296638c345084941f811b169205c5081.zip
app-emacs/ecukes: use ert-runner to run tests
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/ecukes')
-rw-r--r--app-emacs/ecukes/ecukes-0.6.18-r1.ebuild (renamed from app-emacs/ecukes/ecukes-0.6.18.ebuild)15
1 files changed, 5 insertions, 10 deletions
diff --git a/app-emacs/ecukes/ecukes-0.6.18.ebuild b/app-emacs/ecukes/ecukes-0.6.18-r1.ebuild
index 26697cc08fe6..1e8bbe61c27d 100644
--- a/app-emacs/ecukes/ecukes-0.6.18.ebuild
+++ b/app-emacs/ecukes/ecukes-0.6.18-r1.ebuild
@@ -25,7 +25,10 @@ RDEPEND="
"
BDEPEND="
${RDEPEND}
- test? ( app-emacs/el-mock )
+ test? (
+ app-emacs/el-mock
+ app-emacs/ert-runner
+ )
"
DOCS=( README.markdown )
@@ -47,15 +50,7 @@ src_compile() {
}
src_test() {
- local i
- for i in test/ecukes-*-test.el ; do
- ebegin "Running tests from ${i}"
- ${EMACS} ${EMACSFLAGS} -L . -L test \
- --eval "(require 'cl)" \
- -l test/test-helper.el -l ${i} -l test/ecukes-test.el \
- -f ert-run-tests-batch-and-exit
- eend $? || die "tests failed, last ran tests from ${i}"
- done
+ ert-runner --reporter ert+duration --script || die
}
src_install() {