[cfe-dev] make test: rewriter tests failing

Steve Naroff snaroff at apple.com
Wed Mar 26 15:29:37 PDT 2008


I just took care of it (before seeing your response).

I figured this was what you wanted:-)

snaroff

On Mar 26, 2008, at 3:24 PM, Chris Lattner wrote:

> On Mar 26, 2008, at 2:52 PM, Steve Naroff wrote:
>> On Mar 26, 2008, at 2:45 PM, Ted Kremenek wrote:
>>
>>> Is anyone else seeing this?
>>
>>
>> Yes. I just sent Chris the email below...
>
> Ah yeah, this is probably me.  The problem is that the rewriter now  
> obeys -o, and if you leave it out, it defaults to  
> "inputfilename.cpp" as the output.  The fix is to change the tests  
> to use "-o -" on the run lines.  I'll take care of this in an hour  
> or so if noone beats me to it,
>
> -chris
>
>>
>> snaroff
>>
>> Begin forwarded message:
>>> From: Steve Naroff <snaroff at apple.com>
>>> Date: March 26, 2008 2:30:05 PM PDT
>>> To: Chris Lattner <clattner at apple.com>
>>> Subject: Synthesized .cpp files in the Rewriter directory...
>>>
>>> Chris,
>>>
>>> When I run a fresh "make" within the tests directory, the Rewriter  
>>> directory gets populated with .cpp files (which cause errors the  
>>> next time "make" is run).
>>>
>>> Is this a side-effect of the recent output file change you made to  
>>> the driver?
>>>
>>> Curious,
>>>
>>> snaroff
>>>
>>> [steve-naroffs-imac:clang/test/Rewriter] snaroff% ls
>>> id-test-3.cpp			objc-encoding-bug-1.m		rewrite-foreach-1.cpp		 
>>> rewrite-protocol-type-1.m
>>> id-test-3.m			objc-ivar-receiver-1.cpp	rewrite-foreach-1.m		 
>>> rewrite-try-catch.cpp
>>> ivar-encoding-1.cpp		objc-ivar-receiver-1.m		rewrite- 
>>> foreach-2.cpp		rewrite-try-catch.m
>>> ivar-encoding-1.m		objc-string-concat-1.cpp	rewrite-foreach-2.m		 
>>> static-type-protocol-1.cpp
>>> ivar-encoding-2.cpp		objc-string-concat-1.m		rewrite- 
>>> foreach-3.cpp		static-type-protocol-1.m
>>> ivar-encoding-2.m		objc-super-test.cpp		rewrite-foreach-3.m		 
>>> undecl-objc-h.cpp
>>> metadata-test-1.cpp		objc-super-test.m		rewrite-foreach-4.cpp		 
>>> undecl-objc-h.m
>>> metadata-test-1.m		objc-synchronized-1.cpp		rewrite-foreach-4.m		 
>>> undeclared-method-1.cpp
>>> metadata-test-2.cpp		objc-synchronized-1.m		rewrite-foreach-5.cpp		 
>>> undeclared-method-1.m
>>> metadata-test-2.m		protocol-rewrite-1.cpp		rewrite-foreach-5.m		 
>>> undef-field-reference-1.cpp
>>> method-encoding-1.cpp		protocol-rewrite-1.m		rewrite- 
>>> foreach-6.cpp		undef-field-reference-1.m
>>> method-encoding-1.m		rewrite-api-bug.cpp		rewrite-foreach-6.m		va- 
>>> method.cpp
>>> objc-encoding-bug-1.cpp		rewrite-api-bug.m		rewrite-protocol- 
>>> type-1.cpp	va-method.m
>>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080326/f0ae428b/attachment.html>


More information about the cfe-dev mailing list