mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix ERT not running properly on make test
This commit is contained in:
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"
|
||||
|
Reference in New Issue
Block a user