Anyone in touch with codecov team ? We need assert(0); and assert(false); lines to be ignored

Basile B. b2.temp at gmx.com
Thu Feb 11 13:54:29 UTC 2021


On Thursday, 11 February 2021 at 13:27:45 UTC, Basile B. wrote:
> On Thursday, 11 February 2021 at 12:30:36 UTC, Vladimir 
> Panteleev wrote:
>> On Thursday, 11 February 2021 at 11:17:29 UTC, Basile B. wrote:
>>> I see criticism comming, such as "they cannot handle 
>>> assert(/*yeah*/false/**/)", but I think that this does not 
>>> matter. The regexes for the two most common cases would be 
>>> great to get more accurate reports.
>>
>> I think the appropriate place to fix this would be in the 
>> compiler. This is where the information of whether a line is 
>> eligible for coverage originates. (In DMD listings, it's the 
>> difference between a line starting with "       |" and
>
>
> yeah that's a nice alternative, no need to mess with the 
> codecov team if we truncate the report.

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


More information about the Digitalmars-d mailing list