X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;fp=Makefile;h=4b0dea82304d136f9cfefbb144c11eecc78cd8cb;hb=4edc85706942a10085947ef457fca9e4f209a21a;hp=48bf90756f779323a174c97fd407555a3f7d6766;hpb=b286ced30a859e2238d13450d61ea0110a53b8a9;p=src%2Fxds%2Fxds-server.git diff --git a/Makefile b/Makefile index 48bf907..4b0dea8 100644 --- a/Makefile +++ b/Makefile @@ -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)