[Lldb-commits] [PATCH] D58000: [lldb] [test] Skip lldb-mi test if LLDB_DISABLE_PYTHON is used

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 11 01:54:16 PST 2019


labath added a comment.

Instead of adding `REQUIRES: lldb-mi` to every test, it would be better to create an appropriate  `lit.local.cfg` in the `lit/tools/lldb-mi` folder. I think something like:

  if not "lldb-mi" in config.available_features:
    config.unsupported = True

ought to do the trick.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58000/new/

https://reviews.llvm.org/D58000





More information about the lldb-commits mailing list