git-lfs/script/test

11 lines
251 B
Plaintext
Raw Normal View History

2015-07-30 02:37:31 +00:00
#!/usr/bin/env bash
#/ Usage: script/test # run all tests
#/ script/test <subdir> # run just a package's tests
2013-10-04 13:48:57 +00:00
script/fmt
2015-08-21 14:18:48 +00:00
suite="./${1:-"lfs"} ./${1:-"git"}"
if [ $# -gt 0 ]; then
shift
fi
GO15VENDOREXPERIMENT=0 go test $suite "$@"