Fix make test:X/Y
where Y is omitted
This way, make feature will run all unit tests in feature/* modules.
This commit is contained in:
parent
869bc03ca6
commit
f246d89fb6
1 changed files with 5 additions and 2 deletions
|
@ -53,8 +53,11 @@ If neither is available, run all tests in all enabled modules."
|
|||
(error "Expected a list of cons, got: %s" modules)))
|
||||
|
||||
(t
|
||||
(setq modules (doom--module-pairs)
|
||||
targets (list (expand-file-name "test/" doom-core-dir)))))
|
||||
(let ((noninteractive t)
|
||||
doom-modules)
|
||||
(load (expand-file-name "init.test.el" user-emacs-directory) nil t)
|
||||
(setq modules (doom--module-pairs)
|
||||
targets (list (expand-file-name "test/" doom-core-dir))))))
|
||||
;; resolve targets to a list of test files and load them
|
||||
(cl-loop with targets =
|
||||
(append targets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue