aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2015-10-28 09:22:07 +0100
committerJakob Borg <jakob@nym.se>2015-10-28 09:22:07 +0100
commita52811dfa3cc7ee7ae72b772694eca92e47fa515 (patch)
tree864bb7b1984d6bf36fbd1f38dd7d2faf257ca982 /build.sh
parent9e210d705d9382540f3ddb90514bf70c4bd0b028 (diff)
downloadsyncthing-a52811dfa3cc7ee7ae72b772694eca92e47fa515.tar.gz
syncthing-a52811dfa3cc7ee7ae72b772694eca92e47fa515.zip
Don't use godep to run tests
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 1bd946eec..ddbf2e95a 100755
--- a/build.sh
+++ b/build.sh
@@ -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