1 Star 0 Fork 0

wyyyh / qor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test_all.sh 437 Bytes
一键复制 编辑 原始数据 按行查看 历史
jinzhu 提交于 2015-10-08 12:26 . Add script to test all
function gotest_path {
for path in $( find $1 -maxdepth 2 -type d ); do
cd $path
if test -n "$(find . -maxdepth 1 -name '*test.go' -print -quit)"; then
echo "($path)"
echo "\033[31mTesting $(basename $path) with mysql...\033[0m"
TEST_DB=mysql go test
echo "\033[31mTesting $(basename $path) with postgres...\033[0m"
TEST_DB=postgres go test
fi
done
}
gotest_path $GOPATH/src/github.com/qor
Go
1
https://gitee.com/wyyyh/qor.git
git@gitee.com:wyyyh/qor.git
wyyyh
qor
qor
master

搜索帮助