Skip to content

Commit

Permalink
Changes:
Browse files Browse the repository at this point in the history
1. Makefile: data race detector is used again for all tests
  • Loading branch information
ayuryshev committed Apr 16, 2019
1 parent 95ffc48 commit 1bdeee2
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,10 @@ vendorcheck: ## Run vendorcheck
#GO111MODULE=off vendorcheck ./cmd/therealssh-cli/...

test: ## Run tests for net
-go clean -testcache
-go clean -testcache &>/dev/null
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./internal/...
#${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/app/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/cipher/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/manager/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/messaging-discovery/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/node/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/route-finder/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/router/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/routing/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/setup/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/transport/...
${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/transport-discovery/...
${OPTS} go test -tags no_ci -cover -timeout=5m ./pkg/messaging/...


${OPTS} go test -race -tags no_ci -cover -timeout=5m ./pkg/...

install-linters: ## Install linters
- VERSION=1.13.2 ./ci_scripts/install-golangci-lint.sh
# GO111MODULE=off go get -u github.com/FiloSottile/vendorcheck
Expand Down

0 comments on commit 1bdeee2

Please sign in to comment.