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 (condition-case-unless-debug ex
(let (targets) (let (targets)
;; ensure DOOM is initialized ;; ensure DOOM is initialized
(let (noninteractive)
(unload-feature 'core t) (unload-feature 'core t)
(load (expand-file-name "init.el" user-emacs-directory) nil t)) (let (noninteractive)
(run-hooks 'emacs-startup-hook) (load (expand-file-name "core/core.el" user-emacs-directory) nil t))
;; 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) "--"))

View file

@ -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))