mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Don't use godep to run tests
This commit is contained in:
parent
9e210d705d
commit
a52811dfa3
2
build.sh
2
build.sh
@ -108,7 +108,7 @@ case "${1:-default}" in
|
|||||||
# For every package in the repo
|
# For every package in the repo
|
||||||
for dir in $(go list ./...) ; do
|
for dir in $(go list ./...) ; do
|
||||||
# run the tests
|
# run the tests
|
||||||
godep go test -race -coverprofile=profile.out $dir
|
GOPATH="$(pwd)/Godeps/_workspace:$GOPATH" 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: " profile.out >> coverage.out
|
grep -v "mode: " profile.out >> coverage.out
|
||||||
|
Loading…
Reference in New Issue
Block a user