提交 1fa09d03 authored 作者: José Luis Millán's avatar José Luis Millán

Worker: properly clear coverage counters

上级 a648e0c3
......@@ -4,7 +4,6 @@ current_dir=${PWD##*/}
LCOV="./deps/lcov/bin/lcov"
GENHTML="./deps/lcov/bin/genhtml"
OBJECTS_DIR="./out/Release/obj.target/mediasoup-worker-test/"
HTML_REPORT_DIR="/tmp/mediasoup-worker-lcov-report"
COVERAGE_INFO="/tmp/mediasoup-worker-lcov-report.info"
......@@ -13,8 +12,8 @@ if [ "${current_dir}" != "worker" ] ; then
exit 1
fi
echo ">>> [INFO] Clearing *.gcda files ..."
find ${OBJECTS_DIR} -name *.gcda -exec rm -rf {} \;
echo ">>> [INFO] Clearing counters ..."
$LCOV --directory ./ --zerocounters
echo ">>> [INFO] running tests ..."
gulp test:worker
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论