summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-10 18:50:49 +0000
committerZachary Turner <zturner@google.com>2015-12-10 18:50:49 +0000
commit3cfa31492cd9add70042d3e73c5fac8d9eb5b378 (patch)
tree8824da4ed9c410ba999a60a4275ff3bb83340fe3 /lldb/packages/Python/lldbsuite
parentb08ab7242759d4f539b6bcd33e69133bf83a3933 (diff)
downloadbcm5719-llvm-3cfa31492cd9add70042d3e73c5fac8d9eb5b378.tar.gz
bcm5719-llvm-3cfa31492cd9add70042d3e73c5fac8d9eb5b378.zip
Remove the -T option from dotest.py.
llvm-svn: 255276
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py13
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py1
3 files changed, 0 insertions, 17 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 4f71b0c24e8..9591ae3f70e 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -124,9 +124,6 @@ sdir_has_content = False
# svn_info stores the output from 'svn info lldb.base.dir'.
svn_info = ''
-# svn_silent means do not try to obtain svn status
-svn_silent = True
-
# Default verbosity is 0.
verbose = 1
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 14acf3ce7fa..ded6324649c 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -365,9 +365,6 @@ def parseOptionsAndInitTestdirs():
if args.t:
os.environ['LLDB_COMMAND_TRACE'] = 'YES'
- if args.T:
- configuration.svn_silent = False
-
if args.v:
configuration.verbose = 2
@@ -701,16 +698,6 @@ def setupSysPath():
else:
os.environ["LLDBMI_EXEC"] = lldbMiExec
- # Skip printing svn/git information when running in parsable (lit-test compatibility) mode
- if not configuration.svn_silent and not configuration.parsable:
- if os.path.isdir(os.path.join(lldbRootDirectory, '.svn')) and which("svn") is not None:
- pipe = subprocess.Popen([which("svn"), "info", lldbRootDirectory], stdout = subprocess.PIPE)
- configuration.svn_info = pipe.stdout.read()
- elif os.path.isdir(os.path.join(lldbRootDirectory, '.git')) and which("git") is not None:
- pipe = subprocess.Popen([which("git"), "svn", "info", lldbRootDirectory], stdout = subprocess.PIPE)
- configuration.svn_info = pipe.stdout.read()
- print(configuration.svn_info)
-
lldbPythonDir = None # The directory that contains 'lldb/__init__.py'
if configuration.lldbFrameworkPath:
candidatePath = os.path.join(configuration.lldbFrameworkPath, 'Resources', 'Python')
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 72bb2866a6d..7262dcc26e1 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('-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.')
group.set_defaults(disable_crash_dialog=True)
OpenPOWER on IntegriCloud