mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 15:17:25 +00:00
Apparently -race adds some stuff gocov doesn't like. Lets try this instead.
This commit is contained in:
parent
368cd44558
commit
76359da58e
2
build.sh
2
build.sh
@ -111,7 +111,7 @@ case "${1:-default}" in
|
|||||||
godep go test -race -coverprofile=profile.out $dir
|
godep go test -race -coverprofile=profile.out $dir
|
||||||
if [ -f profile.out ] ; then
|
if [ -f profile.out ] ; then
|
||||||
# and if there was test output, append it to coverage.out
|
# and if there was test output, append it to coverage.out
|
||||||
grep -v "mode: set" profile.out >> coverage.out
|
grep -v "mode: " profile.out >> coverage.out
|
||||||
rm profile.out
|
rm profile.out
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user