llvm-project/lldb/test
Enrico Granata e87764f247 Add support for custom commands to set flags on themselves
This works for Python commands defined via a class (implement get_flags on your class) and C++ plugin commands (which can call SBCommand::GetFlags()/SetFlags())

Flags allow features such as not letting the command run if there's no target, or if the process is not stopped, ...
Commands could always check for these things themselves, but having these accessible via flags makes custom commands more consistent with built-in ones

llvm-svn: 238286
2015-05-27 05:04:35 +00:00
..
api TestPublicAPIHeaders.py - Changed expectedFailureDarwin to skipIfDarwin 2015-05-12 05:18:06 +00:00
arm_emulation Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
attic
benchmarks Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
driver/batch_mode Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
example
expression_command XFAIL'd some flakey tests on Darwin 2015-05-17 15:32:14 +00:00
functionalities Add support for custom commands to set flags on themselves 2015-05-27 05:04:35 +00:00
help Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
lang Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
linux/builtin_trap [TestBuiltinTrap] Change skipIfGcc to expectedFailure for GCC <= 4.6. 2015-05-21 18:12:19 +00:00
logging Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
macosx Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
make test Makefile.rules - pick a more sensible default CC on Linux 2015-05-27 04:42:54 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Append to CFLAGS_EXTRAS and LD_EXTRAS when building cmdline. 2015-04-16 09:18:12 +00:00
python_api [TestChangeValueAPI] Remove expectedFailureGcc decorator. 2015-05-21 18:20:46 +00:00
settings Add --move-to-nearest-code / target.move-to-nearest-code options (attempt 2) 2015-05-18 13:41:01 +00:00
source-manager During source manager test, write back the file using binary mode. 2015-01-15 22:53:44 +00:00
terminal Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
tools Add 'qXfer:features:read' to known stub list 2015-05-26 23:08:09 +00:00
types XFAIL'd some flakey tests on Darwin 2015-05-17 15:32:14 +00:00
unittest2 Added a simple legend to the unit test 'dots' output, to aid understandability. 2013-09-25 20:47:51 +00:00
warnings/uuid Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
.categories
CMakeLists.txt Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
Makefile Revert test/Makefile to state before r232205 2015-03-13 22:33:42 +00:00
README-TestSuite Comment discouraging writing command based test cases. 2015-03-18 23:16:58 +00:00
argparse_compat.py Include a small argparse compatibility layer for Python < 2.7 2013-02-16 09:05:23 +00:00
bench-history
bench.py
blacklist.py
crashinfo.c Alignment fix 2014-01-08 03:14:18 +00:00
dosep.py dosep - force timeout processes to dump core when they timeout 2015-05-27 04:40:36 +00:00
dotest.py dotest.py - fixed a bug displaying usage 2015-05-22 19:49:23 +00:00
dotest_args.py dotest.py - fixed a bug displaying usage 2015-05-22 19:49:23 +00:00
lldbbench.py
lldbinline.py TestCModules - fixed for gcc 2015-05-04 06:26:13 +00:00
lldbpexpect.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbplatformutil.py Make several test case arm32 compatible 2015-04-17 09:37:06 +00:00
lldbtest.py Also don't try to copy a logfile if it doesn't exist. 2015-05-26 20:26:29 +00:00
lldbtest_config.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbutil.py Add --move-to-nearest-code / target.move-to-nearest-code options (attempt 2) 2015-05-18 13:41:01 +00:00
lock.py dotest.py - debug feature that helps find dosep races 2015-05-21 19:09:29 +00:00
progress.py The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) 2013-02-09 00:37:07 +00:00
redo.py The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator 2013-04-23 20:05:05 +00:00