From 2e691f3799e2a7636157a67a5c17a9eb2da45713 Mon Sep 17 00:00:00 2001 From: Andreas Ericsson Date: Tue, 20 Apr 2010 17:17:56 +0200 Subject: [PATCH] Makefile: Require 'test' when building all This causes all tests to be run automatically when we build everything. Signed-off-by: Andreas Ericsson --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 44867c2..98a78db 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ ifndef V QUIET_LINK = @echo ' ' LINK $@; endif -all: $(DSO) $(TESTPROG) import showlog test__lparse +all: $(DSO) test import showlog install: all @echo "Installing to $(DESTDIR)" @@ -52,7 +52,7 @@ showlog: $(SHOWLOG_OBJS) import: $(IMPORT_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) $(SQL_LDFLAGS) $^ -o $@ -test: mod $(TESTPROG) $(CONFIG_FILE) +test: test__lparse mod $(TESTPROG) $(CONFIG_FILE) ./$(TESTPROG) -f $(CONFIG_FILE) $(DSO) mod: $(DSO) -- 2.11.4.GIT