[LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor

James Molloy James.Molloy at arm.com
Tue Mar 6 02:54:55 PST 2012


> -Eonly 2>&1 | not grep scratch

I'm pretty sure this one was fixed after 3.0 branched.

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Duncan Sands
Sent: 06 March 2012 10:05
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor

Hi Simona, these failures are due to the name of the path to LLVM/clang, see
below.

> /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem
> /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include
> /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c
>
>
> -Eonly 2>&1 | not grep scratch

This test checks that the word "scratch" doesn't occur in the clang output.
But because it lives under your "/scratch" directory, the word scratch does
occur, in the path.

> /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll:18:18:
> note: CHECK-NOT: pattern specified here
> ; CHECK-NOT: load

Here it is checked that the word "load" does not occur.  But because it lives
under "download" which contains "load", the word load is wrongly thought to
occur.

Yes, this is all very silly and shows a weakness in the testing infrastructure.

Ciao, Duncan.
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.





More information about the llvm-dev mailing list