4 Star 8 Fork 10

strwei/sphinx-jieba

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
coverage.sh 493 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# cleanup from prevous runs, if any
rm src/*.gc*
rm .coverage.*
make clean
# build
CXXFLAGS="-fprofile-arcs -ftest-coverage" ./configure --with-debug
make -j4
# initial coverage data
lcov -c -i -d src/ -o .coverage.base
# run tests
cd test
php ubertest.php t
cd ..
./src/tests
# generate coverage report
lcov -c -d src/ -o .coverage.run
lcov -d src/ -a .coverage.base -a .coverage.run -o .coverage.total
genhtml -o lcov/ .coverage.total
# cleanup
rm src/*.gc*
rm .coverage.*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/strwei/sphinx-jieba.git
git@gitee.com:strwei/sphinx-jieba.git
strwei
sphinx-jieba
sphinx-jieba
master

搜索帮助