Remove the -T option from dotest.py.

llvm-svn: 255276
This commit is contained in:
Zachary Turner
2015-12-10 18:50:49 +00:00
parent b08ab72427
commit 3cfa31492c
3 changed files with 0 additions and 17 deletions

View File

@@ -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

View File

@@ -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')

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('-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)