0 Star 0 Fork 0

吐舌头的鱼/annie

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
go.test.sh 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mathieu Aubin 提交于 2019-02-01 00:14 . small mods (#374) [ci skip]
#!/bin/bash
set -e
#set -x # debug/verbose execution
# Ensures removal of file
trap 'rm -f profile.out downloader/*.{mp4,download,jpg}' SIGINT EXIT
# go -race needs CGO_ENABLED to proceed
export CGO_ENABLED=1;
for d in $(go list ./... | grep -v vendor); do
go test -v -race -coverprofile=profile.out -covermode=atomic "${d}"
if [ -f profile.out ]; then
cat profile.out > coverage.txt
rm profile.out
fi
done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/springtyc/annie.git
git@gitee.com:springtyc/annie.git
springtyc
annie
annie
master

搜索帮助