r215261 - Add tests for coverage mapping generation.

Justin Bogner mail at justinbogner.com
Fri Aug 8 18:53:17 PDT 2014


David Blaikie <dblaikie at gmail.com> writes:
> On Fri, Aug 8, 2014 at 4:49 PM, Alex Lorenz <arphaman at gmail.com> wrote:
>> Author: arphaman
>> Date: Fri Aug  8 18:49:58 2014
>> New Revision: 215261
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=215261&view=rev>
>> Log:
>> Add tests for coverage mapping generation.
 ...
>> Added: cfe/trunk/test/CoverageMapping/macroparams.c
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CoverageMapping/macroparams.c?rev=215261&view=auto> ==============================================================================
>> --- cfe/trunk/test/CoverageMapping/macroparams.c (added)
>> +++ cfe/trunk/test/CoverageMapping/macroparams.c Fri Aug  8 18:49:58 2014
>
> I haven't looked at this closely, but this test is failing for me here:
>
> llvm/src/tools/clang/test/CoverageMapping/macroparams.c:47:16: error:
> CHECK-NEXT: is not on the line after the previous match
> // CHECK-NEXT: File 1, 26:13 -> 26:14 = #2 (HasCodeBefore = 0)
>                ^
> <stdin>:16:2: note: 'next' match was here
>  File 1, 26:13 -> 26:14 = #2 (HasCodeBefore = 0)
>  ^
> <stdin>:14:77: note: previous match ended here
>  Expansion,File 1, 26:3 -> 26:12 = #0 (HasCodeBefore = 0, Expanded file = 5)
>                                                                             ^
> <stdin>:15:1: note: non-matching line after previous match is here
>  File 1, 26:13 -> 26:14 = (#0 - #2) (HasCodeBefore = 0)
> ^

I've reverted this test since it's failing on a few buildbots.

Alex, please look into the failures and resubmit a fixed test.



More information about the cfe-commits mailing list