[Lldb-commits] [lldb] 1d64d69 - [lldb/Reproducers] Skip lldb-vscode category when lldb-run-with-repro is set.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 21 17:02:11 PDT 2020


Author: Jonas Devlieghere
Date: 2020-05-21T17:02:04-07:00
New Revision: 1d64d69ab701d9524ee6871e93a2a2f8195fa798

URL: https://github.com/llvm/llvm-project/commit/1d64d69ab701d9524ee6871e93a2a2f8195fa798
DIFF: https://github.com/llvm/llvm-project/commit/1d64d69ab701d9524ee6871e93a2a2f8195fa798.diff

LOG: [lldb/Reproducers] Skip lldb-vscode category when lldb-run-with-repro is set.

This skips all the lldb-vscode tests when running the test suite with
reproducers.

Added: 
    

Modified: 
    lldb/test/API/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index 662da7d7ccd2..e96c1c7dee2f 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -127,6 +127,10 @@ def find_shlibpath_var():
 if config.lldb_libs_dir:
   dotest_cmd += ['--lldb-libs-dir', config.lldb_libs_dir]
 
+if 'lldb-repro-capture' in config.available_features or \
+    'lldb-repro-replay' in config.available_features:
+  dotest_cmd += ['--skip-category=lldb-vscode']
+
 if config.enabled_plugins:
   for plugin in config.enabled_plugins:
     dotest_cmd += ['--enable-plugin', plugin]


        


More information about the lldb-commits mailing list