Gets rid of spurious $(GOTEST_FLAGS) in the log file name.

This commit is contained in:
James Phillips 2017-09-07 12:32:58 -07:00 committed by GitHub
parent 17681f04f9
commit 3b1eebd502
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ cov:
test: dev-build vet
go test -tags '$(GOTAGS)' -i ./...
go test $(GOTEST_FLAGS) -tags '$(GOTAGS)' -timeout 7m -v ./... 2>&1 >test.log ; echo $$? > exit-code
@echo "Exit code: `cat exit-code`" >> test$(GOTEST_FLAGS).log
@echo "Exit code: `cat exit-code`" >> test.log
@echo "----"
@grep -A5 'DATA RACE' test.log || true
@grep -A10 'panic: test timed out' test.log || true