51957f1305
Also add +build tags to test cmd tools so they don't build by default, only when explicitly told to (which they are already)
11 lines
253 B
Bash
Executable File
11 lines
253 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
|
|
if [ $# -gt 0 ]; then
|
|
GO15VENDOREXPERIMENT=0 go test "./$1"
|
|
else
|
|
GO15VENDOREXPERIMENT=0 go test ./...
|
|
fi
|