git-lfs/script/test
risk danger olson 5c4891908c update scripts to build with vendor experiment off
This maintains compatibility with go 1.4-1.6
2016-02-23 09:51:12 -07:00

11 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
#/ Usage: script/test # run all tests
#/ script/test <subdir> # run just a package's tests
script/fmt
suite="./${1:-"lfs"} ./${1:-"git"}"
if [ $# -gt 0 ]; then
shift
fi
GO15VENDOREXPERIMENT=0 go test $suite "$@"