File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 1- .PHONY : all build unix-compile windows-compile clean test
1+ .PHONY : all build unix-compile windows-compile clean unix-test windows- test
22
33EMACS ?= emacs
44CASK ?= cask
@@ -13,6 +13,10 @@ DAP-CLIENTS := dap-chrome.el dap-cpptools.el dap-edge.el \
1313 dap-go.el dap-lldb.el dap-netcore.el dap-node.el \
1414 dap-php.el dap-pwsh.el dap-python.el dap-ruby.el
1515
16+ TEST-FILES := test/windows-bootstrap.el $(shell ls test/dap-* .el)
17+ LOAD-FILE = -l $(test-file )
18+ LOAD-TEST-FILES := $(foreach test-file, $(TEST-FILES ) , $(LOAD-FILE ) )
19+
1620all :
1721 $(CASK ) build
1822
@@ -33,13 +37,21 @@ windows-compile:
3337 --eval ' (setq treemacs-no-load-time-warnings t)' \
3438 -f batch-byte-compile $(DAP-GENERAL ) $(DAP-CLIENTS )
3539
36- unix-ci : clean build unix-compile test
40+ unix-ci : clean build unix-compile unix- test
3741
3842windows-ci : CASK=
39- windows-ci : clean windows-compile test
43+ windows-ci : clean windows-compile windows- test
4044
4145clean :
4246 rm -rf .cask * .elc
4347
44- test :
48+ unix- test :
4549 $(CASK ) exec ert-runner -L .
50+
51+ windows-test :
52+ @$(EMACS ) -Q --batch \
53+ -l test/windows-bootstrap.el \
54+ -L . \
55+ $(LOAD-TEST-FILES ) \
56+ --eval " (ert-run-tests-batch-and-exit \
57+ ' (and (not (tag no-win)) (not (tag org))))"
You can’t perform that action at this time.
0 commit comments