diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-07-25 16:02:30 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-08-21 11:08:36 +0200 |
commit | db0df685e9dc40fdd53113caaac976d12fd73435 (patch) | |
tree | aa6afac29dc79b23e087535b32574983aead237d /Makefile | |
parent | d3a41ad067e7752a835c71d9f91ddd7230cd648a (diff) |
sdk_test: draft in progress
add tests for testing sdk - draft
Change-Id: I81f2f4ff75d6256fd092afd5213ea4f3370fcc68
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 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 +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) |