[cfe-commits] "make test" fails for several Objective C files

Ted Kremenek kremenek at apple.com
Wed Oct 17 13:29:38 PDT 2007


I'll investigate a little more and see what the problem is.

On Oct 17, 2007, at 1:23 PM, Steve Naroff wrote:

>
> On Oct 17, 2007, at 1:04 PM, Ted Kremenek wrote:
>
>> I'm getting the following test failures for "make test" (latest  
>> version of clang & llvm).  Should I be expecting these to fail  
>> right now?
>
> No...there should be no failures.
>
> I just updated/built and all the ObjC tests pass.
>
> Odd,
>
> snaroff
>
>>
>> (kremenek at grue:clang)$ make test
>> cd test; make
>> <SNIP>
>> Sema/DoubleMethod.m
>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>> ********************
>> Command:
>>  clang -fsyntax-only -verify Sema/DoubleMethod.m
>> Output:
>> Errors expected but not seen:
>>   Line 13: previous declaration is here
>>   Line 14: duplicate declaration of method 'method'
>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>> ********************
>> Sema/alias-test-1.m
>> Sema/alias-test-2.m
>> Sema/arg-duplicate.c
>> Sema/arg-invalid.c
>> Sema/argument-checking.m
>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>> ********************
>> Command:
>>  clang -fsyntax-only -verify Sema/argument-checking.m
>> Output:
>> Errors expected but not seen:
>>   Line 23: incompatible types passing 'int' to method expecting  
>> 'struct S'
>>   Line 24: incompatible types passing 'int' to method expecting  
>> 'struct S'
>> Errors seen but not expected:
>>   Line 9: cannot find definition of 'id'
>>   Line 11: cannot find definition of 'id'
>>   Line 12: cannot find definition of 'id'
>>   Line 16: use of undeclared identifier 'id'
>>   Line 22: use of undeclared identifier 'obj'
>>   Line 22: expected expression
>>   Line 23: use of undeclared identifier 'obj'
>>   Line 23: expected expression
>>   Line 24: use of undeclared identifier 'obj'
>>   Line 24: expected expression
>> Warnings expected but not seen:
>>   Line 22: incompatible types passing 'int' to method expecting  
>> 'char *'
>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>> ********************
>> ...
>> (other errors omitted which look like crashes).
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071017/0e8137ba/attachment.html>


More information about the cfe-commits mailing list