Remove the -x option from dotest.py.

llvm-svn: 255279
This commit is contained in:
Zachary Turner 2015-12-10 18:51:40 +00:00
parent 21accab1a7
commit 70ed57389a
6 changed files with 3 additions and 20 deletions

View File

@ -17,10 +17,7 @@ class FrameVariableResponseBench(BenchBase):
def setUp(self):
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
if configuration.bmBreakpointSpec:
self.break_spec = configuration.bmBreakpointSpec
else:
self.break_spec = '-n main'
self.break_spec = '-n main'
self.count = configuration.bmIterationCount
if self.count <= 0:

View File

@ -22,10 +22,7 @@ class StartupDelaysBench(BenchBase):
# Create self.stopwatch3 for measuring "run to breakpoint".
self.stopwatch3 = Stopwatch()
self.exe = lldbtest_config.lldbExec
if configuration.bmBreakpointSpec:
self.break_spec = configuration.bmBreakpointSpec
else:
self.break_spec = '-n main'
self.break_spec = '-n main'
self.count = configuration.bmIterationCount
if self.count <= 0:

View File

@ -15,10 +15,7 @@ class SteppingSpeedBench(BenchBase):
def setUp(self):
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
if configuration.bmBreakpointSpec:
self.break_spec = configuration.bmBreakpointSpec
else:
self.break_spec = '-n main'
self.break_spec = '-n main'
self.count = configuration.bmIterationCount
if self.count <= 0:

View File

@ -86,8 +86,6 @@ compilers = None # Must be initialized after option parsing
# just that.
cflags_extras = ''
# The breakpoint specification of the benchmark exe, as specified by the '-x' option.
bmBreakpointSpec = None
# The benchmark iteration count, as specified by the '-y' option.
bmIterationCount = -1

View File

@ -358,11 +358,6 @@ def parseOptionsAndInitTestdirs():
if args.v:
configuration.verbose = 2
if args.x:
if args.x.startswith('-'):
usage(parser)
configuration.bmBreakpointSpec = args.x
# argparse makes sure we have a number
if args.y:
configuration.bmIterationCount = args.y

View File

@ -73,7 +73,6 @@ def create_parser():
group.add_argument('-R', metavar='dir', help='Specify a directory to relocate the tests and their intermediate files to. BE WARNED THAT the directory, if exists, will be deleted before running this test driver. No cleanup of intermediate test files is performed in this case')
group.add_argument('-r', metavar='dir', help="Similar to '-R', except that the directory must not exist before running this test driver")
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('-x', metavar='breakpoint-spec', help='Specify the breakpoint specification for the benchmark executable')
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"))