[Lldb-commits] [lldb] 351823f - [lldb/Test] Add 'std-module' category and skip them with reproducers

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 10 14:59:12 PDT 2020


Author: Jonas Devlieghere
Date: 2020-06-10T14:59:05-07:00
New Revision: 351823fbf16007444fa76dc7f1434de285649ca7

URL: https://github.com/llvm/llvm-project/commit/351823fbf16007444fa76dc7f1434de285649ca7
DIFF: https://github.com/llvm/llvm-project/commit/351823fbf16007444fa76dc7f1434de285649ca7.diff

LOG: [lldb/Test] Add 'std-module' category and skip them with reproducers

These tests are flaky on the reproducer bot. I suspect it has something
to do with the module cache. Skipping the whole category while I
investigate the issue.

Added: 
    lldb/test/API/commands/expression/import-std-module/.categories

Modified: 
    lldb/packages/Python/lldbsuite/test/test_categories.py
    lldb/test/API/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py
index f0d6b9ce17de..177c50ee17cf 100644
--- a/lldb/packages/Python/lldbsuite/test/test_categories.py
+++ b/lldb/packages/Python/lldbsuite/test/test_categories.py
@@ -35,6 +35,7 @@
     'stresstest': 'Tests related to stressing lldb limits',
     'flakey': 'Flakey test cases, i.e. tests that do not reliably pass at each execution',
     'darwin-log': 'Darwin log tests',
+    'std-module': 'Tests related to importing the std module',
     'watchpoint': 'Watchpoint-related tests',
     'lldb-vscode': 'Visual Studio Code debug adaptor tests',
     'lldb-server': 'Tests related to lldb-server',

diff  --git a/lldb/test/API/commands/expression/import-std-module/.categories b/lldb/test/API/commands/expression/import-std-module/.categories
new file mode 100644
index 000000000000..5fc979ca1442
--- /dev/null
+++ b/lldb/test/API/commands/expression/import-std-module/.categories
@@ -0,0 +1 @@
+std-module

diff  --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index e96c1c7dee2f..f0cfe69511ac 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -129,7 +129,7 @@ def find_shlibpath_var():
 
 if 'lldb-repro-capture' in config.available_features or \
     'lldb-repro-replay' in config.available_features:
-  dotest_cmd += ['--skip-category=lldb-vscode']
+  dotest_cmd += ['--skip-category=lldb-vscode', '--skip-category=std-module']
 
 if config.enabled_plugins:
   for plugin in config.enabled_plugins:


        


More information about the lldb-commits mailing list