2015-09-15 19:38:54 +00:00
|
|
|
#!/bin/bash
|
2016-02-19 11:58:06 +00:00
|
|
|
set -e
|
2015-09-15 19:38:54 +00:00
|
|
|
|
|
|
|
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
export DEST=.
|
|
|
|
|
2016-03-23 22:06:22 +00:00
|
|
|
TESTFLAGS="${TESTFLAGS} -test.timeout=30m -check.v"
|
|
|
|
|
|
|
|
if [ -n "$VERBOSE" ]; then
|
|
|
|
TESTFLAGS="${TESTFLAGS} -v"
|
|
|
|
fi
|
2015-09-27 13:56:53 +00:00
|
|
|
|
|
|
|
cd integration
|
2016-02-19 11:58:06 +00:00
|
|
|
CGO_ENABLED=0 go test $TESTFLAGS
|