diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-20 14:47:10 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-20 15:21:48 +0200 |
commit | 14d2fa5d296638c345084941f811b169205c5081 (patch) | |
tree | ecea366852d20fbb6f76af77dfbad5463abfcc46 /app-emacs/ecukes | |
parent | sys-kernel/gentoo-sources: add 5.17.4 and genpatches (diff) | |
download | gentoo-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() { |