summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 60270b1..a03ba1c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
# Modify env.sh and uncomment to change config.
include env.sh
-# Start the race detector with "TEST_RACE=1 make test" on the command line.
-ifdef TEST_RACE
+# Start the race detector with "RACE=1 make test" on the command line.
+ifdef RACE
RACE:=-race
else
RACE:=
endif
-# To be verbose while testing use TEST_VERBOSE=1.
-ifdef TEST_VERBOSE
+# To be verbose while testing use VERBOSE=1.
+ifdef VERBOSE
VERBOSE:=-v
else
VERBOSE:=
@@ -83,7 +83,7 @@ pack: gen_config
(echo "Run \"make build\" first." && exit 1)
test: import
- FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) #-tags general
+ FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE)
@(rm $(IMPORT_FILE) 2>/dev/null && echo "Removing import file..." ) || true
test_all: import