vscode-catch2-test-adapter: Tests are failing with merge mismatch

Before you file an issue, please check the README.md’s known issues section.

Describe the bug (A clear and concise description of what the bug is.) When running test (sometimes even after scanning) the tests are marked as failing with the following error profiling: /external/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.gcda: Merge mismatch for function 1

To Reproduce (Steps to reproduce the behavior:)

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior (A clear and concise description of what you expected to happen.)

Screenshots (If applicable, add screenshots to help explain your problem.)

Desktop (please complete the following information):

  • Extension Version [e.g. 22] 2.6.4
  • VS Code Version [e.g. 22] 1.36.1
  • Catch2/Google Test Version 1.8
  • OS Type and Version Win 10

Log (Attach log. (optional, Set: catch2TestExplorer.logfile and reproduce the bug.) Warning: Log probably contains file and test names too.)

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 29 (13 by maintainers)

Most upvoted comments

A modified build will be released soon. If that is the problem, it should be solved.

I have a similar issue while using code coverage gcc --coverage.

Everything works fine until i set: “catch2TestExplorer.workerMaxNumber”: 2,

I guess it happens when multiple test application run in parallel and modifying the same coverage files?

profiling:D:\test3\cLogTest/Log.gcda:Data file mismatch - some data files may have been concurrently updated without locking support