[lldb-dev] How do I use lit to only run the lldb test suite, now that dotest multiprocessing capabilities have been removed?

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Thu Aug 8 12:52:36 PDT 2019


Is this in the on-line docs somewhere?

Jim


> On Aug 8, 2019, at 12:49 PM, Jonas Devlieghere via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> Hey Ted,
> 
> 1. You can run just the dotest-tests by pointing lit at the
> `lit/Suite` directory.
> 2. You can pass arguments to dotest by passing `dotest-args` in --param.
> 
> The invocation would look something like this:
> 
> /path/to/llvm/bin/llvm-lit /path/to/lldb/lit/Suite --param
> 'dotest-args=--foo --bar'
> 
> Hope that helps,
> Jonas
> 
> On Thu, Aug 8, 2019 at 9:31 AM Ted Woodward <tedwood at quicinc.com> wrote:
>> 
>> RE: https://reviews.llvm.org/D65311
>> 
>> 
>> 
>> Internally we use dotest to run the lldb test suite with various RTOS configurations for the test binaries. In these runs we don’t care about the lit tests or the unit tests, because they are OS agnostic. We do this by specifying the compiler, lldb, and test flavor (static testcase + os, dynamic library testcase loaded by an OS image, dynamic library testcase loaded by an OS image running the OS’ debug stub).
>> 
>> 
>> 
>> With the multiprocess testrunner removed, how do I have lit:
>> 
>> Only run the lldb test suite
>> Run dotest with specific arguments
>> 
>> 
>> 
>> We’re not running cmake; we’re taking an existing tools build and running the tests from the source directory using the toolset.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list