summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-11-22 20:50:56 -0600
committerRuben Pollan <meskio@sindominio.net>2018-12-12 13:37:38 +0100
commitd8e683ef0b15e00bba9c241181e7d3247d30539c (patch)
tree5ccb04c333c6a9d6d26dfd340d23b7d6ebf83cac /Makefile
parentd7a1eecfd9d40c7c114f9ecab8180e00107766ec (diff)
[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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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`"