Update unit test bootstrap
This commit is contained in:
parent
682587ac26
commit
7bf133e991
1 changed files with 4 additions and 3 deletions
|
@ -11,9 +11,10 @@ If neither is available, run all tests in all enabled modules."
|
||||||
(let ((doom-modules (make-hash-table :test #'equal)))
|
(let ((doom-modules (make-hash-table :test #'equal)))
|
||||||
;; ensure DOOM is initialized
|
;; ensure DOOM is initialized
|
||||||
(let (noninteractive)
|
(let (noninteractive)
|
||||||
;; Core libraries aren't fully loaded in a noninteractive session, so
|
;; Core libraries aren't fully loaded in a noninteractive session, so we
|
||||||
;; we reload it with `noninteractive' set to nil to force them to.
|
;; reload it with `noninteractive' set to nil to force them to.
|
||||||
(load (expand-file-name "core.el" doom-core-dir) nil t t))
|
(doom-initialize t)
|
||||||
|
(run-hooks 'doom-init-hook 'pre-command-hook 'doom-after-switch-buffer-hook))
|
||||||
(condition-case-unless-debug ex
|
(condition-case-unless-debug ex
|
||||||
(let ((target-paths
|
(let ((target-paths
|
||||||
;; Convert targets (either from MODULES or `argv') into a list of
|
;; Convert targets (either from MODULES or `argv') into a list of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue