mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add unit-test framework & stubs
This commit is contained in:
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
|
|
Reference in New Issue
Block a user