Skip to content

Commit

Permalink
Use LDFLAGS for tests on circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gilmer committed Oct 4, 2019
1 parent 89b75d1 commit 443306b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -398,7 +398,7 @@ ifndef CIRCLECI
else
# Limit the maximum number of tests to run in parallel to 8 for CircleCI due to memory constraints.
# Add verbose (-v) so go-junit-report can parse it for CircleCI results
DB_PORT=$(DB_PORT_TEST) go test -v -parallel 8 -count 1 -short $$(go list ./... | grep -v \\/pkg\\/gen\\/ | grep -v \\/cmd\\/ | grep -v mocks)
DB_PORT=$(DB_PORT_TEST) go test -ldflags "$(LDFLAGS)" -v -parallel 8 -count 1 -short $$(go list ./... | grep -v \\/pkg\\/gen\\/ | grep -v \\/cmd\\/ | grep -v mocks)
endif

server_test_build:
Expand Down

0 comments on commit 443306b

Please sign in to comment.