mirror of
https://github.com/syncthing/syncthing.git
synced 2026-09-23 21:05:20 -04:00
Don't use godep to run tests
This commit is contained in:
1 parent
9e210d705d
commit
a52811dfa3
1 file changed
+1
-1
@@ -108,7 +108,7 @@ case "${1:-default}" in
|
||||
# For every package in the repo
|
||||
for dir in $(go list ./...) ; do
|
||||
# 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
|
||||
# and if there was test output, append it to coverage.out
|
||||
grep -v "mode: " profile.out >> coverage.out
|
||||
|
||||
Reference in new issue
Block a user