diff --git a/Makefile b/Makefile index a53dc66e3..937fbd275 100644 --- a/Makefile +++ b/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 diff --git a/core/autoload/test.el b/core/autoload/test.el index 01daf16cc..60669a57e 100644 --- a/core/autoload/test.el +++ b/core/autoload/test.el @@ -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"