Fix ERT not running properly on make test
This commit is contained in:
parent
3bc0b18184
commit
fe3db542ed
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -67,7 +67,7 @@ test-core $(patsubst %, test-%, $(MODULES)): init.el .local/autoloads.el
|
||||||
|
|
||||||
# run tests interactively
|
# run tests interactively
|
||||||
testi: init.el .local/autoloads.el
|
testi: init.el .local/autoloads.el
|
||||||
@$(EMACSI) -f doom//run-tests -f ert
|
@$(EMACSI) -f doom//run-tests
|
||||||
|
|
||||||
|
|
||||||
## Utility tasks
|
## Utility tasks
|
||||||
|
|
|
@ -60,9 +60,9 @@ If neither is available, run all tests in all enabled modules."
|
||||||
into items
|
into items
|
||||||
finally do (quiet! (mapc #'load-file items)))
|
finally do (quiet! (mapc #'load-file items)))
|
||||||
;; run all loaded tests
|
;; run all loaded tests
|
||||||
(when noninteractive
|
(if noninteractive
|
||||||
(let (noninteractive)
|
(ert-run-tests-batch-and-exit)
|
||||||
(ert-run-tests-batch-and-exit))))
|
(call-interactively #'ert-run-tests-interactively)))
|
||||||
('error
|
('error
|
||||||
(lwarn 'doom-test :error
|
(lwarn 'doom-test :error
|
||||||
"%s -> %s"
|
"%s -> %s"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue