-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.mk
67 lines (48 loc) · 1.12 KB
/
tests.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.RECIPEPREFIX := |
.DEFAULT_GOAL := emacs
test := -emacs --bg-daemon=test
killTest := -emacsclient -s test -e "(kill-emacs)"
cleanAll := -fd . $(mkfileDir) -HIe elc -x rm
clean-all:
|$(cleanAll)
clean:
|-fd . $(mkfileDir) -HId 1 -e elc -x rm
pre-test: clean-all subinit
super-subinit: subinit
|git -C $(mkfileDir) submodule update --init --recursive --remote --force
init: super-subinit clean-all tangle
soft-init: subinit clean-all tangle
no-config-test: pre-test
|emacs -Q
test-and-kill-pre: pre-test
|$(killTest)
bootstrap: test-and-kill-pre
|$(test) --bootstrap
|$(killTest)
force-bootstrap: test-and-kill-pre
|$(test) --force-bootstrap
|$(killTest)
test-new-and-kill: test-and-kill-pre
|$(test) -Q
|$(killTest)
test-new-nw-and-kill: test-and-kill-pre
|$(test) -Q -nw
|$(killTest)
test: pre-test
|emacs
nw-test: pre-test
|emacs -nw
test-and-kill: test-and-kill-pre
|$(test)
|$(killTest)
test-nw-and-kill: test-and-kill-pre
|$(test) -nw
|$(killTest)
test-update-and-kill: test-and-kill-pre
|$(test) --update
|$(killTest)
test-nw-update-and-kill: test-and-kill-pre
|$(test) -nw --update
|$(killTest)
emacs: test
emacs-nw: nw-test