Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++覆盖率统计,使用lcov生成报告后丢失很多文件的数据统计 #986

Open
shanys opened this issue Apr 27, 2022 · 0 comments

Comments

@shanys
Copy link

shanys commented Apr 27, 2022

问题描述
命令为:
blade test ... -j8 -p release --full-test --gcov

构建选项为
Namespace(args=[], cache_dir=None, cache_size=2147483648, color='auto', command='test', fulltest=True, gcov=True, generate_dynamic=False, generate_java=False, generate_php=False, gprof=False, jobs=8, keep_going=False, m='64', no_debug_info=False, no_test=False, profile='release', scons_only=False, show_details=True, test_jobs=1, testargs=None, verbose=False) ['-m64', '-mcx16', '-pipe', '-g', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '--coverage', '-fprofile-arcs', '-ftest-coverage']

代码总行数
image

覆盖率统计数据
image

会是插桩问题还是统计问题?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant