summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-20 15:44:51 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-20 15:44:51 +0200
commit188106539e96e2ed8fffbc9f31e0046dd1b8d8db (patch)
tree89f2e92ef2a840d5b7c1fd047f71540ff6001ab7 /app-emacs/commander
parentapp-emacs/ecukes: use ert-runner to run tests (diff)
downloadgentoo-188106539e96e2ed8fffbc9f31e0046dd1b8d8db.tar.gz
gentoo-188106539e96e2ed8fffbc9f31e0046dd1b8d8db.tar.bz2
gentoo-188106539e96e2ed8fffbc9f31e0046dd1b8d8db.zip
app-emacs/commander: use ert-runner to run tests
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/commander')
-rw-r--r--app-emacs/commander/commander-0.7.0-r1.ebuild (renamed from app-emacs/commander/commander-0.7.0.ebuild)8
1 files changed, 2 insertions, 6 deletions
diff --git a/app-emacs/commander/commander-0.7.0.ebuild b/app-emacs/commander/commander-0.7.0-r1.ebuild
index b73b413a0424..93867886612a 100644
--- a/app-emacs/commander/commander-0.7.0.ebuild
+++ b/app-emacs/commander/commander-0.7.0-r1.ebuild
@@ -27,6 +27,7 @@ BDEPEND="
test? (
app-emacs/ecukes
app-emacs/el-mock
+ app-emacs/ert-runner
app-emacs/espuds
)
"
@@ -35,11 +36,6 @@ DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
src_test() {
- ${EMACS} ${EMACSFLAGS} -L . -L test --eval "(require 'f)" \
- -l ${PN}-command-test.el -l ${PN}-config-test.el \
- -l ${PN}-init.el -l ${PN}-option-test.el -l ${PN}-test.el \
- -l ${PN}-usage-test.el -l ert-loader.el -l test-helper.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-
+ ert-runner || die
ecukes --script features --debug || die
}