aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2012-02-04 13:16:59 +0100
committerVegard Øye <vegard_oye@hotmail.com>2012-02-04 13:16:59 +0100
commitbca9d17acea22005054a58a5678984ca1db57612 (patch)
tree8129bd97524e620a8086b2a2523a83fba4100c98 /Makefile
parentfd3b810219e73835236797217c8af6c13051a07b (diff)
Make "make tests" more stringent
Compile each file in isolation before running tests. Previously, all files were compiled in one batch, which failed to detect the compilation error mentioned in commit 2b165a2.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 64c6572..9d40253 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,6 @@ ELCFILES = $(FILES:.el=.elc)
all: compile
compile: $(ELCFILES)
-
.depend: $(FILES)
@echo Compute dependencies
@rm -f .depend
@@ -58,7 +57,7 @@ test:
--eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}))"
# Byte-compile Evil and run all tests.
-tests: compile-batch
+tests: compile
$(EMACS) --batch -Q -L . $(LIBS) -l evil-tests.el \
--eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}))"
rm -f *.elc