Skip running lldb-mi tests when Python support is disabled. This causes
lldb-mi to unconditionally fail, and therefore all the relevant tests
fail as well.
Details
Details
- Reviewers
labath zturner serge-sans-paille - Commits
- rGd44634951a4d: Merging r353700:
rL362016: Merging r353700:
rG8780771c51d6: [lldb] [test] Skip lldb-mi test if LLDB_DISABLE_PYTHON is used
rLLDB353700: [lldb] [test] Skip lldb-mi test if LLDB_DISABLE_PYTHON is used
rL353700: [lldb] [test] Skip lldb-mi test if LLDB_DISABLE_PYTHON is used
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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.