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
|
# 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"
|
||||||
|
Reference in New Issue
Block a user