1 Star 0 Fork 5

walkany / sphinx-jieba

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
coverage.sh 493 Bytes
一键复制 编辑 原始数据 按行查看 历史
qqcdn 提交于 2019-06-08 15:07 . 2019.06.08修改
#!/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.*
C++
1
https://gitee.com/walkany/sphinx-jieba.git
git@gitee.com:walkany/sphinx-jieba.git
walkany
sphinx-jieba
sphinx-jieba
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891