aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2011-06-12 18:35:51 +0200
committerVegard Øye <vegard_oye@hotmail.com>2011-06-12 18:35:51 +0200
commitb88dca680408b6edd1ec20e64dd4d4dca9c3d60a (patch)
treea2b2a09556169e23b81afbbd1b6b22e1e11655a0 /Makefile
parent7c45427f9aa56ab9c450ae124882c2c6e5f7117d (diff)
Swap "make test" and "make tests"
"make tests" is now "make test" plus compilation. (This is hopefully more intuitive; think of compilation as another test.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c8c6673..e142225 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,14 @@ clean:
# The TAG variable may specify a test tag or a test name:
# make test TAG=repeat
# This will only run tests pertaining to the repeat system.
-tests: clean
+test: clean
$(EMACS) --batch -Q -L . -l evil-tests.el \
--eval "(evil-tests-run '(${TAG}))"
-# Byte-compile Evil and run tests.
-test: compile tests
+# Byte-compile Evil and run all tests.
+tests: compile-batch
+ $(EMACS) --batch -Q -L . -l evil-tests.el \
+--eval "(evil-tests-run '(${TAG}))"
# Load Evil in a fresh instance of Emacs and run all tests.
emacs: clean