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

dawn at burble.org dawn at burble.org
Fri Sep 3 10:03:28 PDT 2010


Done :-)  rev 112972.

-Dawn

On Thu, Sep 02, 2010 at 05:59:56PM -0700, Chris Lattner 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



More information about the cfe-dev mailing list