aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-09 20:48:59 +0000
committerZachary Turner <zturner@google.com>2015-12-09 20:48:59 +0000
commit94ea56bc8bb5bde691d87cdb65ec859c25f202c3 (patch)
tree3243b3b6cdf3117c365211ef7aa7882e5c3a7c99 /lldb/packages/Python/lldbsuite/test
parent35a7610a052ddee9036c02ca62b2d4d42414611b (diff)
downloadllvm-94ea56bc8bb5bde691d87cdb65ec859c25f202c3.zip
llvm-94ea56bc8bb5bde691d87cdb65ec859c25f202c3.tar.gz
llvm-94ea56bc8bb5bde691d87cdb65ec859c25f202c3.tar.bz2
Remove the -P option from dotest.py
This was an option to display a graphical progress bar. Nobody is using this, and it doesn't work correctly anyway with the new result formatter. llvm-svn: 255153
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py7
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/test_result.py10
4 files changed, 0 insertions, 21 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 6f5528b..4f71b0c 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -130,9 +130,6 @@ svn_silent = True
# Default verbosity is 0.
verbose = 1
-# Set to True only if verbose is 0 and LLDB trace mode is off.
-progress_bar = False
-
# By default, search from the script directory.
# We can't use sys.path[0] to determine the script directory
# because it doesn't work under a debugger
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 095d878..2eea55c 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -27,7 +27,6 @@ import importlib
import os
import errno
import platform
-import progress
import signal
import socket
import subprocess
@@ -338,10 +337,6 @@ def parseOptionsAndInitTestdirs():
if args.q:
configuration.parsable = True
- if args.P and not args.v:
- configuration.progress_bar = True
- configuration.verbose = 0
-
if args.R:
if args.R.startswith('-'):
usage(parser)
@@ -1239,8 +1234,6 @@ def run_suite():
if configuration.parsable:
v = 0
- elif configuration.progress_bar:
- v = 1
else:
v = configuration.verbose
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 49a14ec..48fe5ed 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -88,7 +88,6 @@ def create_parser():
# Test-suite behaviour
group = parser.add_argument_group('Runtime behaviour options')
X('-d', 'Suspend the process after launch to wait indefinitely for a debugger to attach')
- X('-P', "Use the graphic progress bar.")
X('-q', "Don't print extra output from this script.")
X('-S', "Skip the build and cleanup while running the test. Use this option with care as you would need to build the inferior(s) by hand and build the executable(s) with the correct name(s). This can be used with '-# n' to stress test certain test cases for n number of times")
X('-t', 'Turn on tracing of lldb command and other detailed test executions')
diff --git a/lldb/packages/Python/lldbsuite/test/test_result.py b/lldb/packages/Python/lldbsuite/test/test_result.py
index eb89b66..ae968e3 100644
--- a/lldb/packages/Python/lldbsuite/test/test_result.py
+++ b/lldb/packages/Python/lldbsuite/test/test_result.py
@@ -77,16 +77,6 @@ class LLDBTestResult(unittest2.TextTestResult):
# This counts from 1 .. suite.countTestCases().
self.counter = 0
(width, height) = LLDBTestResult.getTerminalSize()
- self.progressbar = None
- if width > 10 and not configuration.parsable and configuration.progress_bar:
- try:
- self.progressbar = progress.ProgressWithEvents(
- stdout=self.stream,
- start=0,
- end=configuration.suite.countTestCases(),
- width=width-10)
- except:
- self.progressbar = None
self.results_formatter = configuration.results_formatter_object
def _config_string(self, test):