From bca9d17acea22005054a58a5678984ca1db57612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vegard=20=C3=98ye?= Date: Sat, 4 Feb 2012 13:16:59 +0100 Subject: 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. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.0