aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2021-09-29 22:32:21 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2021-09-30 10:47:19 -0700
commitb505ed9d313653782b81bbc97979c98edb205558 (patch)
tree6adf1402c0a17dc7c9bbb44a922ea7d6ee3ef96a /lldb/packages/Python/lldbsuite/test/configuration.py
parent244aa7f7358da791a231ffd4efd849f166050c4b (diff)
downloadllvm-b505ed9d313653782b81bbc97979c98edb205558.zip
llvm-b505ed9d313653782b81bbc97979c98edb205558.tar.gz
llvm-b505ed9d313653782b81bbc97979c98edb205558.tar.bz2
[lldb] Remove support for replaying the test suite from a reproducer
This patch removes the infrastructure to replay the test suite from a reproducer, as well as the modifications made to the individual tests.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 9b57666..6b3da8f 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -117,10 +117,6 @@ clang_module_cache_dir = None
# Test results handling globals
test_result = None
-# Reproducers
-capture_path = None
-replay_path = None
-
# The names of all tests. Used to assert we don't have two tests with the
# same base name.
all_tests = set()
@@ -158,18 +154,3 @@ def get_yaml2obj_path():
"""
if yaml2obj and os.path.lexists(yaml2obj):
return yaml2obj
-
-def is_reproducer_replay():
- """
- Returns true when dotest is being replayed from a reproducer. Never use
- this method to guard SB API calls as it will cause a divergence between
- capture and replay.
- """
- return replay_path is not None
-
-def is_reproducer():
- """
- Returns true when dotest is capturing a reproducer or is being replayed
- from a reproducer. Use this method to guard SB API calls.
- """
- return capture_path or replay_path