-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
lcov and gcovr are code coverage executables.
The latest gcovr (8.3) is hitting this error on buffers:
"Got function __ in slice.hpp on multiple lines: 56, 110".
Maybe that's already enough to find the issue.
Otherwise, to discuss more...
File "/opt/venv/lib/python3.12/site-packages/gcovr/merging.py", line 222, in _insert_coverage_item
merged_item = merge_item(target_dict[key], new_item, options, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.12/site-packages/gcovr/merging.py", line 295, in merge_file
raise AssertionError("\n".join(message)) from None
AssertionError: Got function void boost::buffers::._anon_95::operator()<boost::buffers::const_buffer, void>(boost::buffers::const_buffer&, unsigned long) const in /jenkins/workspace/boost-root/boost/buffers/slice.hpp on multiple lines: 56, 110.
You can run gcovr with --merge-mode-functions=MERGE_MODE.
The available values for MERGE_MODE are described in the documentation.
GCOV source files of merge source is/are:
bin.v2/libs/buffers/test/unit/buffer.test/gcc-13/debug/x86_64/cxxstd-11-iso/threading-multi/visibility-hidden/buffer.gcda
and of merge target is/are:
bin.v2/libs/buffers/build/gcc-13/debug/x86_64/cxxstd-11-iso/threading-multi/visibility-hidden/buffer_pair.gcda
Metadata
Metadata
Assignees
Labels
No labels