[Lldb-commits] [lldb] r327643 - [dotest] remove confirm_directory_exclusivity remnants

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 15 09:52:37 PDT 2018

Author: labath
Date: Thu Mar 15 09:52:37 2018
New Revision: 327643

URL: http://llvm.org/viewvc/llvm-project?rev=327643&view=rev
[dotest] remove confirm_directory_exclusivity remnants


Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=327643&r1=327642&r2=327643&view=diff
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Thu Mar 15 09:52:37 2018
@@ -70,15 +70,6 @@ from . import test_categories
 from lldbsuite.support import encoded_file
 from lldbsuite.support import funcutils
-# dosep.py starts lots and lots of dotest instances
-# This option helps you find if two (or more) dotest instances are using the same
-# directory at the same time
-# Enable it to cause test failures and stderr messages if dotest instances try to run in
-# the same directory simultaneously
-# it is disabled by default because it litters the test directories with
-# ".dirlock" files
-debug_confirm_directory_exclusivity = False
 # See also dotest.parseOptionsAndInitTestdirs(), where the environment variables
 # LLDB_COMMAND_TRACE and LLDB_DO_CLEANUP are set from '-t' and '-r dir'
 # options.
@@ -586,10 +577,6 @@ class Base(unittest2.TestCase):
                     exc_type, exc_value, exc_tb = sys.exc_info()
                     traceback.print_exception(exc_type, exc_value, exc_tb)
-        if debug_confirm_directory_exclusivity:
-            cls.dir_lock.release()
-            del cls.dir_lock
         # Restore old working directory.
         if traceAlways:
             print("Restore dir to:", cls.oldcwd, file=sys.stderr)

More information about the lldb-commits mailing list