diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-08-21 18:58:26 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-08-21 18:58:32 +0200 |
commit | c095e1ea9a9e38f020ce4ae852d97c712be910b6 (patch) | |
tree | ce085c43116ceb9eda10fd79cfc3d18ecfe6387a /Makefile | |
parent | 3c40079d8360c15f0ce52a6c11a2bc2555177463 (diff) | |
parent | 2fb2226b666e7a8a21dc8b852188b75c06e2cfc8 (diff) |
Merge remote-tracking branch 'origin/sandbox/benierc/test'
Change-Id: Idc200f10e217119df9edfebbaf839c5fd45b19a4
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -120,7 +120,11 @@ xds: scripts tools/syncthing/copytobin @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/$(TARGET)$(EXT) -ldflags "$(GO_LDFLAGS) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" -gcflags "$(GO_GCFLAGS)" . test: tools/glide - go test --race $(shell $(LOCAL_TOOLSDIR)/glide novendor) +ifndef name + go test --race ./test -v +else + go test --race ./test -v -run $(name) +endif vet: tools/glide go vet $(shell $(LOCAL_TOOLSDIR)/glide novendor) |