From 351823fbf16007444fa76dc7f1434de285649ca7 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 10 Jun 2020 14:58:06 -0700 Subject: [PATCH] [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. --- lldb/packages/Python/lldbsuite/test/test_categories.py | 1 + lldb/test/API/commands/expression/import-std-module/.categories | 1 + lldb/test/API/lit.cfg.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 lldb/test/API/commands/expression/import-std-module/.categories diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py index f0d6b9c..177c50ee 100644 --- a/lldb/packages/Python/lldbsuite/test/test_categories.py +++ b/lldb/packages/Python/lldbsuite/test/test_categories.py @@ -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 index 0000000..5fc979c --- /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 e96c1c7..f0cfe69 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -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: -- 2.7.4