[cfe-dev] lit tests failure

Douglas Gregor dgregor at apple.com
Tue Oct 27 07:30:23 PDT 2009


Hi Renato,

On Oct 27, 2009, at 5:51 AM, Renato Golin wrote:
> I'm seeing some errors on the up-to-date clang tree:
>
> --- Running clang tests for i686-pc-linux-gnu ---
> lit.py: lit.cfg:146: note: using clang:
> '/home/rengol01/temp/llvm/Debug/bin/clang'
> lit.py: lit.cfg:151: note: using clang-cc:
> '/home/rengol01/temp/llvm/Debug/bin/clang-cc'
> FAIL: Clang::CodeGen/object-size.c (389 of 1698)
> FAIL: Clang::Preprocessor/assembler-with-cpp.c (858 of 1698)
> FAIL: Clang::Preprocessor/output_paste_avoid.c (951 of 1698)
> Testing Time: 21.15s
> ********************
> Failing Tests (3):
>    Clang::CodeGen/object-size.c
>    Clang::Preprocessor/assembler-with-cpp.c
>    Clang::Preprocessor/output_paste_avoid.c
>
>  Expected Passes    : 1678
>  Expected Failures  : 17
>  Unexpected Failures: 3
>
> How can I get hold of which test failed within those files?  A Line
> number and method name would come handy on the error report.

Run lit with the "-v" parameter to get more information about the  
tests being run. Personally, I like to use lit -sv to get verbose  
output just for the failures (but succinct output everywhere else).

Those three failures look like they are now fixed.

	- Doug



More information about the cfe-dev mailing list