1
1
EMACS = emacs
2
- IPYTHON = ipython
2
+ IPYTHON = env/ipy. $( IPY_VERSION ) /bin/ ipython
3
3
IPY_VERSION = 0.13.0
4
4
TESTEIN = tools/testein.py
5
+ TESTEIN_OPTS =
5
6
6
- testein-default :
7
- $( TESTEIN ) --clean-elc --ipython $( IPYTHON )
7
+ testein : test-requirements
8
+ ${MAKE} testein-1
8
9
9
- testein-24 :
10
- $(TESTEIN ) --clean-elc -e emacs-snapshot --ipython $(IPYTHON )
11
-
12
- testein-unit-all :
13
- $(TESTEIN ) --no-func-test --clean-elc --load-ert
14
- $(TESTEIN ) --no-func-test --clean-elc -e emacs-snapshot
15
-
16
- interactive-testein-default :
17
- $(TESTEIN ) --clean-elc --load-ert --no-batch --ipython $(IPYTHON )
18
-
19
- interactive-testein-24 :
20
- $(TESTEIN ) --clean-elc -e emacs-snapshot --no-batch --ipython $(IPYTHON )
10
+ interactive-testein : test-requirements
11
+ ${MAKE} TESTEIN_OPTS=" --no-batch" testein-1
21
12
22
13
submodule :
23
14
git submodule update --init
@@ -30,17 +21,8 @@ ert-compile: submodule ert-clean log
30
21
ert-clean :
31
22
rm -f lib/ert/lisp/emacs-lisp/* .elc
32
23
33
- env-ipy.dev :
34
- tools/makeenv.sh env/ipy.dev tools/requirement-ipy.dev.txt
35
-
36
- env-ipy.0.13.0 :
37
- tools/makeenv.sh env/ipy.0.13.0 tools/requirement-ipy.0.13.0.txt
38
-
39
- env-ipy.0.12.1 :
40
- tools/makeenv.sh env/ipy.0.12.1 tools/requirement-ipy.0.12.1.txt
41
-
42
- env-ipy.0.12.0 :
43
- tools/makeenv.sh env/ipy.0.12.0 tools/requirement-ipy.0.12.0.txt
24
+ env-ipy.% :
25
+ tools/makeenv.sh env/ipy.$* tools/requirement-ipy.$* .txt
44
26
45
27
env-clean :
46
28
rm -rf env
51
33
log-clean :
52
34
rm -rf log
53
35
54
- travis-ci-testein : ert-compile env-ipy.$(IPY_VERSION )
36
+ test-requirements : ert-compile env-ipy.$(IPY_VERSION )
37
+
38
+ travis-ci-testein : test-requirements
55
39
${MAKE} testein-2
56
40
57
41
testein-2 : testein-2-url-retrieve testein-2-curl
@@ -67,7 +51,7 @@ testein-1:
67
51
python --version
68
52
env/ipy.$(IPY_VERSION ) /bin/ipython --version
69
53
$(TESTEIN ) --clean-elc -e $(EMACS ) \
70
- --ipython env/ipy. $( IPY_VERSION ) /bin/ipython
54
+ --ipython $( IPYTHON ) ${TESTEIN_OPTS}
71
55
72
56
travis-ci-zeroein :
73
57
$(EMACS ) --version
0 commit comments