Where's the race flag?
gabizou opened this issue · 0 comments
gabizou commented
In the readme, the goal of go-acc
is to replicate this shell command:
go list ./... | grep -v /cmd | grep -v /vendor | xargs -n1 -I{} sh -c 'go test -race -covermode=atomic -coverprofile=coverage.tmp -coverpkg $(go list ./... | grep -v /vendor | tr "\n" ",") {} && tail -n +2 coverage.tmp >> coverage.txt || exit 255' && rm coverage.tmp
However, upon analysis of the command, it doesn't appear there's any mention of adding the -race
flag to go test.
Is this expected? Can it be documented as such?