[Lldb-commits] [PATCH] D45332: [LIT] Add new LLDB test format

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 5 14:16:55 PDT 2018


JDevlieghere added a comment.

In https://reviews.llvm.org/D45332#1058914, @zturner wrote:

> It should be possible to define it outside the LLVM repo.  Just in `llvm/lldb/lit/lit.cfg` replace this line:
>
>   config.test_format = lit.formats.ShTest(execute_external)
>
>
> with something like this:
>
>   import lldb_format
>   config.test_format = lldb_format.LLDBTestFormat()
>
>
> and that file can live in the lldb repo.


Probably I'm doing something wrong then because I couldn't get that to work. I moved the `lldbtest.py` in the `Suite` dir and then I got an import error.

  ImportError: No module named lldbtest


Repository:
  rL LLVM

https://reviews.llvm.org/D45332





More information about the lldb-commits mailing list