git-lfs/script/test

16 lines
307 B
Plaintext
Raw Normal View History

#!/bin/sh
#/ Usage: script/test # run all tests
#/ script/test <subdir> # run just a package's tests
target="./..."
if [[ "$#" != "0" ]]; then
target="./$@"
fi
2013-10-04 13:48:57 +00:00
script/fmt
2014-04-16 21:11:52 +00:00
script/bootstrap
GOPATH="$GOPATH:`pwd`/.vendor" go test $target -i
GOPATH="$GOPATH:`pwd`/.vendor" go test $target