From d8e683ef0b15e00bba9c241181e7d3247d30539c Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 22 Nov 2018 20:50:56 -0600 Subject: [test] make bonafide more testable Get local timezone and http client as configurable things in bonafide, so tests can set them. Also separate integration tests and unit tests. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0484914..5d3847b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build: go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`" test: - go test -tags $(TAGS) ./... + go test -tags "integration $(TAGS)" ./... build_bitmaskd: go build -tags "$(TAGS) bitmaskd" -ldflags "-X main.version=`git describe --tags`" -- cgit v1.2.3