summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-05-17 18:02:34 +0000
committerZachary Turner <zturner@google.com>2016-05-17 18:02:34 +0000
commit8d4d151bb2a13a5b953c5ccaaec743286def5b99 (patch)
tree99bfa18a9eb2f62e68d0eb1f72841354e5a554c3 /lldb/packages/Python/lldbsuite/test/dotest_args.py
parent7a19307705f54ea095f361a4cedb3a7377178687 (diff)
downloadbcm5719-llvm-8d4d151bb2a13a5b953c5ccaaec743286def5b99.tar.gz
bcm5719-llvm-8d4d151bb2a13a5b953c5ccaaec743286def5b99.zip
Allow custom formatting of session log file names.
Differential Revision: http://reviews.llvm.org/D20306 llvm-svn: 269793
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 105156df7e8..8bbc29c98f0 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -11,6 +11,7 @@ import textwrap
# Third-party modules
# LLDB modules
+from . import configuration
class ArgParseNamespace(object):
pass
@@ -70,6 +71,7 @@ def create_parser():
group.add_argument('--framework', metavar='framework-path', help='The path to LLDB.framework')
group.add_argument('--executable', metavar='executable-path', help='The path to the lldb executable')
group.add_argument('-s', metavar='name', help='Specify the name of the dir created to store the session files of tests with errored or failed status. If not specified, the test driver uses the timestamp as the session dir name')
+ group.add_argument('-S', '--session-file-format', default=configuration.session_file_format, metavar='format', help='Specify session file name format. See configuration.py for a description.')
group.add_argument('-y', type=int, metavar='count', help="Specify the iteration count used to collect our benchmarks. An example is the number of times to do 'thread step-over' to measure stepping speed.")
group.add_argument('-#', type=int, metavar='sharp', dest='sharp', help='Repeat the test suite for a specified number of times')
group.add_argument('--channel', metavar='channel', dest='channels', action='append', help=textwrap.dedent("Specify the log channels (and optional categories) e.g. 'lldb all' or 'gdb-remote packets' if no categories are specified, 'default' is used"))
OpenPOWER on IntegriCloud