diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-28 21:31:53 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-28 21:31:53 +0000 |
commit | 311ae452287189e582b84a09982b0a2b37ddfe6b (patch) | |
tree | 3e1e9f52729bd6283513c87eb091ba06e86d0147 /lldb/packages/Python/lldbsuite/test | |
parent | 925afc1ce70ab4117073d52bf519ea7cf05ed03f (diff) | |
download | bcm5719-llvm-311ae452287189e582b84a09982b0a2b37ddfe6b.tar.gz bcm5719-llvm-311ae452287189e582b84a09982b0a2b37ddfe6b.zip |
[dotest] Remove --event-add-entries
This argument was used by dosep.py to pass information around from the
workers. With dosep.py gone, I'm fairly sure we don't need this any
longer.
llvm-svn: 370266
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 18 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest_args.py | 7 |
2 files changed, 0 insertions, 25 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index c3d723ec256..9b124b86687 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -444,24 +444,6 @@ def parseOptionsAndInitTestdirs(): if args.test_build_dir: configuration.test_build_dir = args.test_build_dir - if args.event_add_entries and len(args.event_add_entries) > 0: - entries = {} - # Parse out key=val pairs, separated by comma - for keyval in args.event_add_entries.split(","): - key_val_entry = keyval.split("=") - if len(key_val_entry) == 2: - (key, val) = key_val_entry - val_parts = val.split(':') - if len(val_parts) > 1: - (val, val_type) = val_parts - if val_type == 'int': - val = int(val) - entries[key] = val - # Tell the event builder to create all events with these - # key/val pairs in them. - if len(entries) > 0: - EventBuilder.add_entries_to_all_events(entries) - # Gather all the dirs passed on the command line. if len(args.args) > 0: configuration.testdirs = [os.path.realpath(os.path.abspath(x)) for x in args.args] diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py index f4882e1d7e4..a8ec03a88f1 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest_args.py +++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py @@ -243,13 +243,6 @@ def create_parser(): help=('Specify an option to pass to the formatter. ' 'Use --results-formatter-option="--option1=val1" ' 'syntax. Note the "=" is critical, don\'t include whitespace.')) - group.add_argument( - '--event-add-entries', - action='store', - help=('Specify comma-separated KEY=VAL entries to add key and value ' - 'pairs to all test events generated by this test run. VAL may ' - 'be specified as VAL:TYPE, where TYPE may be int to convert ' - 'the value to an int')) # Re-run related arguments group = parser.add_argument_group('Test Re-run Options') |