forked from EngineX-Cambricon/enginex-mlu370-vllm
PYTEST覆盖率脚本使用方式
bash run_test.sh
-
必须在Torch-MLU-Ops docker容器内运行。
-
脚本原理是使用coverage命令收集py文件运行时的覆盖率数据,所以脚本依托于
tests/kernels_pytest/run_test.sh和tests/ops_pytest/run_test.sh运行。 -
脚本统计的是
tests/kernels_pytest和tests/ops_pytest下py文件的覆盖率数据。