ChuanqiXu9 wrote:

> Maybe you can run individual tests with lit but generally I use `lldb-dotest` 
> instead:
> 
> ```
> ./bin/lldb-dotest.py -p TestTemplateWithSameArg.py
> ```
> 
> (you only need the filename)

Thanks. Reproduced. But it surprised me that I can't run the commands you 
mentioned, but I need to run:

```
./bin/lldb-dotest -p TestTemplateWithSameArg.py -G gmodules
```

And I am also slightly surprised that after I change the code, it doesn't work 
if I run `ninja lldb-test` only I need to run `ninja clang lldb`. Do I 
misconfigure anything? I build lldb by:

```
CC=clang CXX=clang++ cmake -DLLVM_ENABLE_PROJECTS="clang;lldb"  -GNinja ../llvm 
-DCMAKE_BUILD_TYPE=Release  -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_ENABLE_LLD=ON  
-DPython3_ROOT_DIR=<path-to-python>
```



https://github.com/llvm/llvm-project/pull/92083
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to