summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-10 18:50:32 +0000
committerZachary Turner <zturner@google.com>2015-12-10 18:50:32 +0000
commitb08ab7242759d4f539b6bcd33e69133bf83a3933 (patch)
treecd9e894d87f77a338a2f328594298538dd2107f8 /lldb/packages/Python/lldbsuite/test
parent5cd12580fd78137f9c422f148e9c02de78ce4303 (diff)
downloadbcm5719-llvm-b08ab7242759d4f539b6bcd33e69133bf83a3933.tar.gz
bcm5719-llvm-b08ab7242759d4f539b6bcd33e69133bf83a3933.zip
Remove -w option from dotest.py.
llvm-svn: 255275
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py12
3 files changed, 0 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 2eea55c8ae8..14acf3ce7fa 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -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)
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 48fe5edb862..72bb2866a6d 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -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.')
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 23ad251a855..e1403c1902e 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -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"])
OpenPOWER on IntegriCloud