[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
diff --git a/lldb/lit/Commands/CommandScriptImmediateOutput/lit.local.cfg b/lldb/lit/Commands/CommandScriptImmediateOutput/lit.local.cfg
new file mode 100644
index 0000000..d880a5f
--- /dev/null
+++ b/lldb/lit/Commands/CommandScriptImmediateOutput/lit.local.cfg
@@ -0,0 +1,2 @@
+if not "python" in config.available_features:
+    config.unsupported = True
diff --git a/lldb/lit/Driver/LocalLLDBInit.test b/lldb/lit/Driver/LocalLLDBInit.test
index 04bcca4..69b7781 100644
--- a/lldb/lit/Driver/LocalLLDBInit.test
+++ b/lldb/lit/Driver/LocalLLDBInit.test
@@ -1,3 +1,4 @@
+# REQUIRES: python
 # RUN: mkdir -p %t.root
 # RUN: mkdir -p %t.home
 # RUN: cp %S/Inputs/.lldbinit %t.root