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 <tedw...@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@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to