提交 d8b70e9c 编写于 作者: W wujing 提交者: lifeng68

run llt coverage analysis

Signed-off-by: Nwujing <wujing50@huawei.com>
上级 a45a94c6
......@@ -71,12 +71,19 @@ echo_success "===================RUN DT-LLT TESTCASES START=====================
cd $ISULAD_COPY_PATH
rm -rf build
cd ./test
./test.sh -mcoverage -c -r -t
if [[ $? -ne 0 ]]; then
exit 1
if [[ "x${GCOV}" == "xON" ]]; then
./test.sh -mcoverage -c -r -t
if [[ $? -ne 0 ]]; then
exit 1
fi
ISULAD_SRC_PATH=$(env | grep TOPDIR | awk -F = '{print $2}')
tar -zcf $ISULAD_SRC_PATH/isulad-llt-gcov.tar.gz ./coverage
else
./test.sh -m -c -r
if [[ $? -ne 0 ]]; then
exit 1
fi
fi
ISULAD_SRC_PATH=$(env | grep TOPDIR | awk -F = '{print $2}')
tar -zcf $ISULAD_SRC_PATH/isulad-llt-gcov.tar.gz ./coverage
./test.sh -e
echo_success "===================RUN DT-LLT TESTCASES END========================="
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册