Update unit test bootstrap

This commit is contained in:
Henrik Lissner 2018-05-15 01:46:18 +02:00
parent 682587ac26
commit 7bf133e991
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,9 +11,10 @@ If neither is available, run all tests in all enabled modules."
(let ((doom-modules (make-hash-table :test #'equal)))
;; ensure DOOM is initialized
(let (noninteractive)
;; Core libraries aren't fully loaded in a noninteractive session, so
;; we reload it with `noninteractive' set to nil to force them to.
(load (expand-file-name "core.el" doom-core-dir) nil t t))
;; Core libraries aren't fully loaded in a noninteractive session, so we
;; reload it with `noninteractive' set to nil to force them to.
(doom-initialize t)
(run-hooks 'doom-init-hook 'pre-command-hook 'doom-after-switch-buffer-hook))
(condition-case-unless-debug ex
(let ((target-paths
;; Convert targets (either from MODULES or `argv') into a list of