aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2011-06-16 15:03:45 +0200
committerVegard Øye <vegard_oye@hotmail.com>2011-06-16 15:03:45 +0200
commit5fb9afef1e2687f1d30276fb33202112f05926c6 (patch)
tree6cfa2f8a9902571710e5b4e7277a8e83ae78625e /Makefile
parent1fd907cb0105cfbc45a707a9642a9c1ab4066bfb (diff)
Add TAG variable to "make emacs" and "make terminal"
This makes it possible to specify up-front which tests to run inside an instance of Emacs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e142225..af585e1 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ tests: compile-batch
emacs: clean
$(EMACS) -Q -L . -l evil-tests.el --eval "(evil-mode 1)" \
--eval "(if (y-or-n-p-with-timeout \"Run tests? \" 2 t) \
-(evil-tests-run t) \
+(evil-tests-run '(${TAG}) t) \
(message \"You can run the tests at any time with \`M-x evil-tests-run\'\"))" &
# Load Evil in a terminal Emacs and run all tests.
@@ -48,7 +48,7 @@ term: terminal
terminal: clean
$(EMACS) -nw -Q -L . -l evil-tests.el --eval "(evil-mode 1)" \
--eval "(if (y-or-n-p-with-timeout \"Run tests? \" 2 t) \
-(evil-tests-run t) \
+(evil-tests-run '(${TAG}) t) \
(message \"You can run the tests at any time with \`M-x evil-tests-run\'\"))"
# Re-indent all Evil code.