branch: externals/org-gnosis commit 0cf64d46fa3163c9b7ee525ad1d7d1fe7fbeb2dd Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
makefile: Add tests. --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e7257fb048..ac6c8d4e90 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .POSIX: -.PHONY: all doc clean +.PHONY: all doc clean test test-parsing test-integration .SUFFIXES: .el .elc EMACS = emacs @@ -16,5 +16,12 @@ doc: $(ORG) --eval "(with-current-buffer (find-file \"$(ORG)\") (org-texinfo-export-to-texinfo) (org-texinfo-export-to-info) (save-buffer))" \ --kill +test: test-parsing test-integration + +test-parsing: + $(EMACS) --batch \ + -l tests/org-gnosis-test-parsing.el \ + -f ert-run-tests-batch-and-exit + clean: - rm -f $(TEXI) $(INFO) + rm -f $(TEXI) $(INFO) *pkg* *autoloads*