diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-09-29 22:32:21 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-09-30 10:47:19 -0700 |
commit | b505ed9d313653782b81bbc97979c98edb205558 (patch) | |
tree | 6adf1402c0a17dc7c9bbb44a922ea7d6ee3ef96a /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 244aa7f7358da791a231ffd4efd849f166050c4b (diff) | |
download | llvm-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/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 5c5583f..0815188 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -393,16 +393,6 @@ def parseOptionsAndInitTestdirs(): if do_help: usage(parser) - # Reproducer arguments - if args.capture_path and args.replay_path: - logging.error('Cannot specify both a capture and a replay path.') - sys.exit(-1) - - if args.capture_path: - configuration.capture_path = args.capture_path - - if args.replay_path: - configuration.replay_path = args.replay_path if args.lldb_platform_name: configuration.lldb_platform_name = args.lldb_platform_name if args.lldb_platform_url: @@ -888,19 +878,8 @@ def run_suite(): setupSysPath() - import lldbconfig - if configuration.capture_path or configuration.replay_path: - lldbconfig.INITIALIZE = False import lldb - - if configuration.capture_path: - lldb.SBReproducer.Capture(configuration.capture_path) - lldb.SBReproducer.SetAutoGenerate(True) - elif configuration.replay_path: - lldb.SBReproducer.PassiveReplay(configuration.replay_path) - - if not lldbconfig.INITIALIZE: - lldb.SBDebugger.Initialize() + lldb.SBDebugger.Initialize() # Use host platform by default. lldb.selected_platform = lldb.SBPlatform.GetHostPlatform() |