[dotest] remove confirm_directory_exclusivity remnants
authorPavel Labath <labath@google.com>
Thu, 15 Mar 2018 16:52:37 +0000 (16:52 +0000)
committerPavel Labath <labath@google.com>
Thu, 15 Mar 2018 16:52:37 +0000 (16:52 +0000)
llvm-svn: 327643

lldb/packages/Python/lldbsuite/test/lldbtest.py

index 3d10418..318c2a4 100644 (file)
@@ -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)