Ensure module state is initialized on make test

This commit is contained in:
Henrik Lissner 2017-08-09 15:30:42 +02:00
parent 7b9a2c850d
commit 5e393b3233
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -27,7 +27,8 @@ If neither is available, run all tests in all enabled modules."
(let (targets)
;; ensure DOOM is initialized
(let (noninteractive)
(load (expand-file-name "core/core.el" user-emacs-directory) nil t))
(load (expand-file-name "core/core.el" user-emacs-directory) nil t)
(doom-initialize-modules nil))
;; collect targets
(cond ((and command-line-args-left
(equal (car command-line-args-left) "--"))