[lldb/Test] Add 'std-module' category and skip them with reproducers
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 10 Jun 2020 21:58:06 +0000 (14:58 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 10 Jun 2020 21:59:05 +0000 (14:59 -0700)
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.

lldb/packages/Python/lldbsuite/test/test_categories.py
lldb/test/API/commands/expression/import-std-module/.categories [new file with mode: 0644]
lldb/test/API/lit.cfg.py

index f0d6b9c..177c50e 100644 (file)
@@ -35,6 +35,7 @@ all_categories = {
     '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 (file)
index 0000000..5fc979c
--- /dev/null
@@ -0,0 +1 @@
+std-module
index e96c1c7..f0cfe69 100644 (file)
@@ -129,7 +129,7 @@ if 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']
+  dotest_cmd += ['--skip-category=lldb-vscode', '--skip-category=std-module']
 
 if config.enabled_plugins:
   for plugin in config.enabled_plugins: