mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat: 排除不需要做单元测试的文件
更新覆盖率统计脚本,排除不需要统计的文件 Log: Change-Id: I5b070810b83af6495114932c17a0c47c12e343d9
This commit is contained in:
parent
a586140cb2
commit
4abd6be7d8
@ -16,7 +16,7 @@ lcov -c -i -d ./ -o init.info
|
||||
./dde_dock_unit_test
|
||||
lcov -c -d ./ -o cover.info
|
||||
lcov -a init.info -a cover.info -o total.info
|
||||
lcov -r total.info "*/tests/*" "*/usr/include*" "*build/src*" -o final.info
|
||||
lcov -r total.info "*/tests/*" "*/usr/include*" "*build/src*" "*/dbus/*" "*/interfaces/*" "*/xcb/*" -o final.info
|
||||
|
||||
rm -rf ../../tests/$REPORT_DIR
|
||||
mkdir -p ../../tests/$REPORT_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user