[Lldb-commits] [lldb] 94ec56b - [lldb/Test] Use lit.local.cfg to mark whole directory as (un)supported.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 27 15:11:11 PST 2020


Author: Jonas Devlieghere
Date: 2020-01-27T15:11:00-08:00
New Revision: 94ec56b6d5e239a76345afeffe1cc3079235a9f6

URL: https://github.com/llvm/llvm-project/commit/94ec56b6d5e239a76345afeffe1cc3079235a9f6
DIFF: https://github.com/llvm/llvm-project/commit/94ec56b6d5e239a76345afeffe1cc3079235a9f6.diff

LOG: [lldb/Test] Use lit.local.cfg to mark whole directory as (un)supported.

Mark the whole Python or Lua test directory as unsupported when the
corresponding language is not available.

Added: 
    lldb/test/Shell/ScriptInterpreter/Lua/lit.local.cfg
    lldb/test/Shell/ScriptInterpreter/Python/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/lit.local.cfg b/lldb/test/Shell/ScriptInterpreter/Lua/lit.local.cfg
new file mode 100644
index 000000000000..ed0f0b5b8a7e
--- /dev/null
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/lit.local.cfg
@@ -0,0 +1,2 @@
+if 'lua' not in config.available_features:
+  config.unsupported = True

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/lit.local.cfg b/lldb/test/Shell/ScriptInterpreter/Python/lit.local.cfg
new file mode 100644
index 000000000000..945a5615c421
--- /dev/null
+++ b/lldb/test/Shell/ScriptInterpreter/Python/lit.local.cfg
@@ -0,0 +1,2 @@
+if 'python' not in config.available_features:
+  config.unsupported = True


        


More information about the lldb-commits mailing list