[Issue 14790] coverage merge should detect changed source code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 23 17:08:25 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=14790

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ljmf00 created dlang/druntime pull request #3341 "Fix Issue 14790: rt: cover:
coverage merge should detect changed source code" fixing this issue:

- Fix Issue 14790: rt: cover: coverage merge should detect changed source code

  Merging different versions of the same source file could lead to mismatched
  covered lines if the source code actually changes. Changing the .lst file
  format will open a huge breaking change and rely on timestamps is
impractical.

  As an alternative to this, we can deeply compare the source code with
generated
  .lst which also has a copy of the original source code.

  Signed-off-by: Luís Ferreira <contact at lsferreira.net>

https://github.com/dlang/druntime/pull/3341

--


More information about the Digitalmars-d-bugs mailing list