mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Load bare minimum for tests
This commit is contained in:
@ -26,10 +26,9 @@ If neither is available, run all tests in all enabled modules."
|
|||||||
(condition-case-unless-debug ex
|
(condition-case-unless-debug ex
|
||||||
(let (targets)
|
(let (targets)
|
||||||
;; ensure DOOM is initialized
|
;; ensure DOOM is initialized
|
||||||
|
(unload-feature 'core t)
|
||||||
(let (noninteractive)
|
(let (noninteractive)
|
||||||
(unload-feature 'core t)
|
(load (expand-file-name "core/core.el" user-emacs-directory) nil t))
|
||||||
(load (expand-file-name "init.el" user-emacs-directory) nil t))
|
|
||||||
(run-hooks 'emacs-startup-hook)
|
|
||||||
;; collect targets
|
;; collect targets
|
||||||
(cond ((and command-line-args-left
|
(cond ((and command-line-args-left
|
||||||
(equal (car command-line-args-left) "--"))
|
(equal (car command-line-args-left) "--"))
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; feature/evil/test/evil.el
|
;;; feature/evil/test/evil.el
|
||||||
|
|
||||||
|
(require! :feature evil)
|
||||||
|
|
||||||
;; `+evil*ex-replace-special-filenames'
|
;; `+evil*ex-replace-special-filenames'
|
||||||
(def-test! file-modifiers
|
(def-test! file-modifiers
|
||||||
(cl-flet ((do-it #'+evil*ex-replace-special-filenames))
|
(cl-flet ((do-it #'+evil*ex-replace-special-filenames))
|
||||||
|
Reference in New Issue
Block a user