Load bare minimum for tests

This commit is contained in:
Henrik Lissner 2017-06-28 15:28:13 +02:00
parent 25dca5fde7
commit 869bc03ca6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 3 deletions

View file

@ -26,10 +26,9 @@ If neither is available, run all tests in all enabled modules."
(condition-case-unless-debug ex
(let (targets)
;; ensure DOOM is initialized
(unload-feature 'core t)
(let (noninteractive)
(unload-feature 'core t)
(load (expand-file-name "init.el" user-emacs-directory) nil t))
(run-hooks 'emacs-startup-hook)
(load (expand-file-name "core/core.el" user-emacs-directory) nil t))
;; collect targets
(cond ((and command-line-args-left
(equal (car command-line-args-left) "--"))