Remove -w option from dotest.py.

llvm-svn: 255275
This commit is contained in:
Zachary Turner 2015-12-10 18:50:32 +00:00
parent 5cd12580fd
commit b08ab72427
3 changed files with 0 additions and 16 deletions

View File

@ -371,9 +371,6 @@ def parseOptionsAndInitTestdirs():
if args.v:
configuration.verbose = 2
if args.w:
os.environ['LLDB_WAIT_BETWEEN_TEST_CASES'] = 'YES'
if args.x:
if args.x.startswith('-'):
usage(parser)

View File

@ -94,7 +94,6 @@ def create_parser():
group.add_argument('-u', dest='unset_env_varnames', metavar='variable', action='append', help='Specify an environment variable to unset before running the test cases. e.g., -u DYLD_INSERT_LIBRARIES -u MallocScribble')
group.add_argument('--env', dest='set_env_vars', metavar='variable', action='append', help='Specify an environment variable to set to the given value before running the test cases e.g.: --env CXXFLAGS=-O3 --env DYLD_INSERT_LIBRARIES')
X('-v', 'Do verbose mode of unittest framework (print out each test case invocation)')
X('-w', 'Insert some wait time (currently 0.5 sec) between consecutive test cases')
X('-T', 'Obtain and dump svn information for this checkout of LLDB (off by default)')
group.add_argument('--enable-crash-dialog', dest='disable_crash_dialog', action='store_false', help='(Windows only) When LLDB crashes, display the Windows crash dialog.')
group.add_argument('--show-inferior-console', dest='hide_inferior_console', action='store_false', help='(Windows only) When launching an inferior, dont hide its console window.')

View File

@ -2358,15 +2358,6 @@ class TestBase(Base):
# Can be overridden by the LLDB_TIME_WAIT_NEXT_LAUNCH environment variable.
timeWaitNextLaunch = 1.0;
def doDelay(self):
"""See option -w of dotest.py."""
if ("LLDB_WAIT_BETWEEN_TEST_CASES" in os.environ and
os.environ["LLDB_WAIT_BETWEEN_TEST_CASES"] == 'YES'):
waitTime = 1.0
if "LLDB_TIME_WAIT_BETWEEN_TEST_CASES" in os.environ:
waitTime = float(os.environ["LLDB_TIME_WAIT_BETWEEN_TEST_CASES"])
time.sleep(waitTime)
# Returns the list of categories to which this test case belongs
# by default, look for a ".categories" file, and read its contents
# if no such file exists, traverse the hierarchy - we guarantee
@ -2398,9 +2389,6 @@ class TestBase(Base):
# Works with the test driver to conditionally skip tests via decorators.
Base.setUp(self)
# Insert some delay between successive test cases if specified.
self.doDelay()
if "LLDB_MAX_LAUNCH_COUNT" in os.environ:
self.maxLaunchCount = int(os.environ["LLDB_MAX_LAUNCH_COUNT"])