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
|
||||
testi: init.el .local/autoloads.el
|
||||
@$(EMACSI) -f doom//run-tests -f ert
|
||||
@$(EMACSI) -f doom//run-tests
|
||||
|
||||
|
||||
## Utility tasks
|
||||
|
|
|
@ -60,9 +60,9 @@ If neither is available, run all tests in all enabled modules."
|
|||
into items
|
||||
finally do (quiet! (mapc #'load-file items)))
|
||||
;; run all loaded tests
|
||||
(when noninteractive
|
||||
(let (noninteractive)
|
||||
(ert-run-tests-batch-and-exit))))
|
||||
(if noninteractive
|
||||
(ert-run-tests-batch-and-exit)
|
||||
(call-interactively #'ert-run-tests-interactively)))
|
||||
('error
|
||||
(lwarn 'doom-test :error
|
||||
"%s -> %s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue