[cfe-dev] how to run a single test?

Michael Price - Dev michael.b.price.dev at gmail.com
Fri Sep 3 17:35:04 PDT 2010


So, that's how that works. I was wondering if it would be possible to  
easily update the C++0x status chart. I'm guessing that's the approved  
method?


On Sep 2, 2010, at 7:59 PM, Chris Lattner <clattner at apple.com> wrote:

> Sure, feel free to fix it, just commit to clang/www and the webpage  
> autoupdates.
>
> -Chris
>
> On Sep 2, 2010, at 5:29 PM, dawn at burble.org wrote:
>
>> Thanks for all the tips.  Now I see this *is* documented here
>> http://clang.llvm.org/hacking.html but only under the Windows Visual
>> Studio section!  I test on Linux so I wasn't looking there :-)
>> How about just putting the bits starting with "To run all the tests  
>> from
>> the command line" into a common section titled "Running the tests  
>> from
>> the command line"?  Docs are much more useful when you can find the
>> info in them :-)
>>
>> -Dawn
>>
>> On Wed, Sep 01, 2010 at 09:16:31PM -0700, Chris Lattner wrote:
>>>
>>> On Sep 1, 2010, at 8:30 PM, Francois Pichet wrote:
>>>
>>>> For example to test ../Sema/init.c on Windows I use:
>>>>
>>>> python D:/Dev/llvm/llvm_trunk/utils/lit/lit.py -sv --no-progress- 
>>>> bar
>>>> D:/Dev/llvm/llvm_trunk/tools/clang/test/Sema/init.c
>>>> --param=build_config=Release
>>>
>>> I have "lit" aliased to "~/llvm/utils/lit/lit.py -v" which allows  
>>> me to just type "lit test/Sema/init.c".
>>>
>>> -Chris
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list