diff options
author | Zachary Turner <zturner@google.com> | 2015-12-09 20:48:42 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-12-09 20:48:42 +0000 |
commit | 35a7610a052ddee9036c02ca62b2d4d42414611b (patch) | |
tree | f08b9ebb50324d66437ffaee2eee86ed66c138de /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 6c9e44413f249378889df9a095f509117b484717 (diff) | |
download | bcm5719-llvm-35a7610a052ddee9036c02ca62b2d4d42414611b.tar.gz bcm5719-llvm-35a7610a052ddee9036c02ca62b2d4d42414611b.zip |
Delete the -n command line option from dotest.py.
This removes the option to not print some one time version and
diagnostic information when running the test suite.
llvm-svn: 255152
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index e2e96cc3e0c..095d8788815 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -330,16 +330,12 @@ def parseOptionsAndInitTestdirs(): if args.executable: lldbtest_config.lldbExec = args.executable - if args.n: - configuration.noHeaders = True - if args.p: if args.p.startswith('-'): usage(parser) configuration.regexp = args.p if args.q: - configuration.noHeaders = True configuration.parsable = True if args.P and not args.v: @@ -697,10 +693,9 @@ def setupSysPath(): os.environ["LLDB_LIB_DIR"] = lldbLibDir lldbImpLibDir = os.path.join(lldbLibDir, '..', 'lib') if sys.platform.startswith('win32') else lldbLibDir os.environ["LLDB_IMPLIB_DIR"] = lldbImpLibDir - if not configuration.noHeaders: - print("LLDB library dir:", os.environ["LLDB_LIB_DIR"]) - print("LLDB import library dir:", os.environ["LLDB_IMPLIB_DIR"]) - os.system('%s -v' % lldbtest_config.lldbExec) + print("LLDB library dir:", os.environ["LLDB_LIB_DIR"]) + print("LLDB import library dir:", os.environ["LLDB_IMPLIB_DIR"]) + os.system('%s -v' % lldbtest_config.lldbExec) # Assume lldb-mi is in same place as lldb # If not found, disable the lldb-mi tests @@ -722,8 +717,7 @@ def setupSysPath(): 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() - if not configuration.noHeaders: - print(configuration.svn_info) + print(configuration.svn_info) lldbPythonDir = None # The directory that contains 'lldb/__init__.py' if configuration.lldbFrameworkPath: @@ -1112,10 +1106,9 @@ def run_suite(): configuration.sdir_name = timestamp_started os.environ["LLDB_SESSION_DIRNAME"] = os.path.join(os.getcwd(), configuration.sdir_name) - if not configuration.noHeaders: - sys.stderr.write("\nSession logs for test failures/errors/unexpected successes" - " will go into directory '%s'\n" % configuration.sdir_name) - sys.stderr.write("Command invoked: %s\n" % getMyCommandLine()) + sys.stderr.write("\nSession logs for test failures/errors/unexpected successes" + " will go into directory '%s'\n" % configuration.sdir_name) + sys.stderr.write("Command invoked: %s\n" % getMyCommandLine()) if not os.path.isdir(configuration.sdir_name): try: |