llvm-project/lldb/packages/Python/lldbsuite/test
Leonard Mosescu 17ffd39ed8 Implement interactive command interruption
The core of this change is the new CommandInterpreter::m_command_state,
which models the state transitions for interactive commands, including
an "interrupted" state transition.

In general, command interruption requires cooperation from the code
executing the command, which needs to poll for interruption requests
through CommandInterpreter::WasInterrupted().

CommandInterpreter::PrintCommandOutput() implements an optionally
interruptible printing of the command output, which for large outputs 
was likely the longest blocking part.
(ex. target modules dump symtab on a complex binary could take 10+ minutes)

Differential Revision: https://reviews.llvm.org/D37923

llvm-svn: 315037
2017-10-05 23:41:28 +00:00
..
android/platform *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
api Mark this as skipped for now. There is a race condition with 2017-03-10 05:33:27 +00:00
arm_emulation *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
attic *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
benchmarks *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
driver/batch_mode *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
example *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
expression_command Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
functionalities Implement interactive command interruption 2017-10-05 23:41:28 +00:00
help Fix the formatting for help on option value types. 2017-07-27 00:18:18 +00:00
issue_verification test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
lang Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
linux Extend 'target symbols add' to load symbols from a given module 2017-07-24 22:52:39 +00:00
logging *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
macosx Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
make Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
plugins *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
python_api Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
sample_test Add a lldbutils routine that gathers up the boiler-plate 2017-07-06 02:18:16 +00:00
settings Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
source-manager add stop column highlighting support 2016-09-21 20:13:14 +00:00
terminal *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_runner added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
tools Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
types Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
warnings/uuid *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
.categories Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
Makefile Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
README-TestSuite Add a sample_test directory with simple starter 2017-03-01 20:25:48 +00:00
__init__.py Get rid of global variables in dotest.py 2015-12-08 01:15:30 +00:00
bench-history Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
bench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
concurrent_base.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
configuration.py Don't override the SDKs and force the use of /System/Library/Frameworks to 2017-05-19 23:00:42 +00:00
crashinfo.c Move lldb/test to lldb/packages/Python/lldbsuite/test. 2015-10-28 17:43:26 +00:00
darwin_log.py add availability check to DarwinLog event tests 2016-09-16 03:07:14 +00:00
decorators.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
dosep.py dotest.py: remove the ability to specify different architectures/compilers in a single invocation 2017-03-15 08:51:59 +00:00
dotest.py Centralize libc++ test skipping logic 2017-03-29 21:01:14 +00:00
dotest_args.py dotest.py: remove the ability to specify different architectures/compilers in a single invocation 2017-03-15 08:51:59 +00:00
lldb_pylint_helper.py Updated lldb_pylint_helper to work with recent Python package changes. 2015-11-10 20:01:33 +00:00
lldbbench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbcurses.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbdwarf.py [LLDB][MIPS] Fix TestLldbGdbServer failure for MIPS 2017-01-10 09:33:43 +00:00
lldbinline.py dotest.py: remove the ability to specify different architectures/compilers in a single invocation 2017-03-15 08:51:59 +00:00
lldbpexpect.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbplatform.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbplatformutil.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbtest.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbtest_config.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbutil.py Add a lldbutils routine that gathers up the boiler-plate 2017-07-06 02:18:16 +00:00
lock.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
redo.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_categories.py Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
test_result.py Improvements to testing blacklist 2016-10-04 18:48:00 +00:00