Add unit-test framework & stubs
This commit is contained in:
parent
4de4545929
commit
70a1fb52cc
4 changed files with 4 additions and 7 deletions
5
Makefile
5
Makefile
|
@ -27,7 +27,10 @@ clean-elc:
|
||||||
@rm -fv init.elc
|
@rm -fv init.elc
|
||||||
@find {core,modules} -type f -iname '*.elc' -exec rm \-fv {} \;
|
@find {core,modules} -type f -iname '*.elc' -exec rm \-fv {} \;
|
||||||
|
|
||||||
|
test:
|
||||||
|
@$(EMACS) --batch -l test/init.el -f 'doom!run-tests'
|
||||||
|
|
||||||
init.el:
|
init.el:
|
||||||
@[ -f init.el ] || $(error No init.el file, please create one or copy init.example.el)
|
@[ -f init.el ] || $(error No init.el file, please create one or copy init.example.el)
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all test
|
||||||
|
|
0
test/core/package-management.el
Normal file
0
test/core/package-management.el
Normal file
|
@ -1,6 +0,0 @@
|
||||||
;;; test-helper.el
|
|
||||||
|
|
||||||
(require 'ert)
|
|
||||||
|
|
||||||
(provide 'test-helper)
|
|
||||||
;;; test-helper.el ends here
|
|
Loading…
Add table
Add a link
Reference in a new issue