[cfe-commits] new failures

Douglas Gregor dgregor at apple.com
Fri Apr 10 09:47:38 PDT 2009


On Apr 10, 2009, at 9:44 AM, Chris Lattner wrote:

> On Apr 10, 2009, at 9:35 AM, Douglas Gregor wrote:
>>> FAIL: clang x86_64-apple-darwin10 test/Preprocessor//include-
>>> directive3.c
>>> FAIL: clang x86_64-apple-darwin10 test/Preprocessor//include- 
>>> macros.c
>>> clang version 1.0 (https://mrs@llvm.org/svn/llvm-project/cfe/trunk
>>> 68756)
>>
>> I'm seeing these failures, too. Chris?
>
> These both pass for me.  What output do you get?  How do they fail?   
> Are you running srcdir != objdir or something?
>
> -Chris


Looks like you forgot to commit pr2086.h.

******************** TEST '/Users/dgregor/Projects/llvm/tools/clang/ 
test/Preprocessor//include-directive3.c' FAILED! ********************
Command:
  /Volumes/Data/dgregor/Projects/llvm/Debug/bin/clang-cc -include  
file_to_include.h -E /Users/dgregor/Projects/llvm/tools/clang/test/ 
Preprocessor//include-directive3.c -fno-caret-diagnostics 2>&1 >/dev/ 
null | grep 'file successfully included' | count 1
Incorrect Output:
count: expected 1 lines and got        0.
******************** TEST '/Users/dgregor/Projects/llvm/tools/clang/ 
test/Preprocessor//include-directive3.c' FAILED! ********************
******************** TEST '/Users/dgregor/Projects/llvm/tools/clang/ 
test/Preprocessor//include-macros.c' FAILED! ********************
Command:
  /Volumes/Data/dgregor/Projects/llvm/Debug/bin/clang-cc -E -Dtest=FOO  
-imacros pr2086.h /Users/dgregor/Projects/llvm/tools/clang/test/ 
Preprocessor//include-macros.c | grep 'HERE: test'
Incorrect Output:
In file included from <built-in>:102:
<command line>:2:19: fatal error: '/Volumes/Data/dgregor/Projects/llvm/ 
tools/clang/test/pr2086.h' file not found
#__include_macros "/Volumes/Data/dgregor/Projects/llvm/tools/clang/ 
test/pr2086.h"
                   ^
1 diagnostic generated.
******************** TEST '/Users/dgregor/Projects/llvm/tools/clang/ 
test/Preprocessor//include-macros.c' FAILED! ********************



More information about the cfe-commits mailing list