gh-ost/test.sh

17 lines
250 B
Bash
Raw Normal View History

2016-08-12 14:21:29 +00:00
#!/bin/bash
retval=0
for testsuite in base mysql sql
do
pushd go/${testsuite} > /dev/null;
# TODO: remove GO111MODULE once gh-ost uses Go modules
GO111MODULE=off go test $*;
2016-08-12 14:21:29 +00:00
[ $? -ne 0 ] && retval=1
popd > /dev/null;
done
exit $retval