[lldb] [lit] Skip more tests when Python is unavailable

LocalLLDBInit.test requires Python module loading support.
CommandScriptImmediateOutput tests are specific to running scripts.
Disable all of them when Python support is disabled.

llvm-svn: 361115
This commit is contained in:
Michal Gorny 2019-05-19 09:27:52 +00:00
parent 6f356784be
commit f8fccb14de
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
if not "python" in config.available_features:
config.unsupported = True

View File

@ -1,3 +1,4 @@
# REQUIRES: python
# RUN: mkdir -p %t.root
# RUN: mkdir -p %t.home
# RUN: cp %S/Inputs/.lldbinit %t.root