On Wed, Mar 13, 2013 at 11:08 PM, Tom Stellard <[email protected]> wrote:
> On Tue, Mar 12, 2013 at 10:45:27PM +0200, Dmitri Gribenko wrote:
>> On Tue, Mar 12, 2013 at 10:21 PM, Tom Stellard <[email protected]> wrote:
>> >  lib/Driver/Tools.cpp |   19 +++++++++++++++++++
>> >  lib/Driver/Tools.h   |    1 +
>>
>> Hi Tom,
>>
>> Is it possible to add tests?
>>
>
> Sure, here is an updated patch with a test case.

You should FileCheck against the generated command lines directly.
You need to invoke clang with -### argument for that.  See
test/Driver/mips-features.c for an example.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to