blob: 0ed48f0811b87a02b4ce338dfd3adf7cfe3952d0 [file] [log] [blame]
#!/usr/bin/env bash
set -eu -o pipefail
paths=${@:-$(go list ./... | grep -v '/vendor/')}
TESTFLAGS=${TESTFLAGS-}
TESTTIMEOUT=${TESTTIMEOUT-30s}
go test -test.timeout "$TESTTIMEOUT" $TESTFLAGS -v $paths