[cfe-dev] make check failures

dalej dalej at apple.com
Mon Nov 29 15:33:13 PST 2010


On Nov 26, 2010, at 2:11 AM, Jay Foad wrote:

> I've just tried "make check" on a fresh checkout of llvm and clang. I get:

These tests are actually testing llvm-gcc, not llvm.  You can almost certainly get them to pass by building llvm-gcc and keeping it up to date.  If you don't want to do that, you can configure using --without-llvm-gcc as Daniel suggested.

People often react to discovering this behavior by suggesting gently that llvm-gcc tests belong in llvm-gcc, not in llvm.  So far no one has been inspired to do the work of moving them, however.  The test harnesses are sufficiently different that this is not trivial.

> Failing Tests (26):
>    LLVM :: FrontendC++/2010-03-22-empty-baseclass.cpp
>    LLVM :: FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
>    LLVM :: FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp
>    LLVM :: FrontendC++/2010-06-22-BitfieldInit.cpp
>    LLVM :: FrontendC++/thunk-linkonce-odr.cpp
>    LLVM :: FrontendC/2007-04-11-InlineStorageClassC89.c
>    LLVM :: FrontendC/2007-04-11-InlineStorageClassC99.c
>    LLVM :: FrontendC/2007-05-16-EmptyStruct.c
>    LLVM :: FrontendC/2007-10-01-BuildArrayRef.c
>    LLVM :: FrontendC/2010-05-14-Optimized-VarType.c
>    LLVM :: FrontendC/2010-05-18-asmsched.c
>    LLVM :: FrontendC/2010-05-18-palignr.c
>    LLVM :: FrontendC/2010-05-26-AsmSideEffect.c
>    LLVM :: FrontendC/2010-06-11-SaveExpr.c
>    LLVM :: FrontendC/2010-06-17-asmcrash.c
>    LLVM :: FrontendC/2010-06-28-DbgLocalVar.c
>    LLVM :: FrontendC/2010-07-08-DeclDebugLineNo.c
>    LLVM :: FrontendC/2010-07-27-MinNoFoldConst.c
>    LLVM :: FrontendC/2010-11-16-asmblock.c
>    LLVM :: FrontendC/arrayderef.c
>    LLVM :: FrontendC/asm-reg-var-local.c
>    LLVM :: FrontendC/crash-invalid-array.c
>    LLVM :: FrontendC/inline-asm-function.c
>    LLVM :: FrontendC/pr2394.c
>    LLVM :: FrontendC/vla-1.c
>    LLVM :: FrontendC/vla-2.c
> 
>  Expected Passes    : 5554
>  Expected Failures  : 53
>  Unsupported Tests  : 69
>  Unexpected Failures: 26
> 
> Is this normal? I configured with just --enable-optimized.
> BUILD_TRIPLE=x86_64-unknown-linux-gnu.
> 
> Thanks,
> Jay.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list