From 050315fd4253a962a5a2fa7fc69eb712bbf0ecdc Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 29 Mar 2015 20:52:16 +0200 Subject: Add modified mailgraph.cgi. Update style.css. Complete test suite, every function should be tested. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cb4c7db..7a1be85 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ else VERBOSE:= endif -# Allow use of external networks. EXTERNAL=1 +# Use this when you run this test on a domain with a valid MX entry. EXTERNAL=1 ifdef EXTERNAL EXTERNAL:=-external else @@ -91,7 +91,7 @@ pack: gen_config (echo "Run \"make build\" first." && exit 1) test: import - FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) $(EXTERNAL) + FREEMAIL_SMTP_MAILER_MX=localhost FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) $(EXTERNAL) @(rm $(IMPORT_FILE) 2>/dev/null && echo "Removing import file..." ) || true benchmark: import -- cgit v1.2.3