1 Star 0 Fork 1

wkiny / aliyun-openapi-cpp-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
generate_code_cov.sh 685 Bytes
一键复制 编辑 原始数据 按行查看 历史
张子发 提交于 2019-01-10 16:42 . fix unit test build failed
#!/bin/bash
cd `dirname $0`
UT_BUILD_DIR=ut_build
echo '--------- generate initial info ---------------- '
lcov -d $UT_BUILD_DIR -z
lcov -d $UT_BUILD_DIR -b . --no-external --initial -c -o initCoverage.info
echo '--------- run test ---------------- '
cd $UT_BUILD_DIR
ctest --verbose
cd ..
echo '--------- generate post info ---------------- '
lcov -d $UT_BUILD_DIR -b . --no-external -c -o testCoverage.info
echo '--------- generate html report ---------------- '
genhtml -o coverageReport --prefix=`pwd` initCoverage.info testCoverage.info
echo 'check report: ' `pwd`/coverageReport/index.html
echo ' ------remove tmp file ------'
rm initCoverage.info
rm testCoverage.info
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shiqiyue/aliyun-openapi-cpp-sdk.git
git@gitee.com:shiqiyue/aliyun-openapi-cpp-sdk.git
shiqiyue
aliyun-openapi-cpp-sdk
aliyun-openapi-cpp-sdk
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891