[Lldb-commits] [lldb] r359807 - [test] TestSharedPtr -> TestSharedPtrDbgInfoContent

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 2 10:35:18 PDT 2019


Author: jdevlieghere
Date: Thu May  2 10:35:18 2019
New Revision: 359807

URL: http://llvm.org/viewvc/llvm-project?rev=359807&view=rev
Log:
[test] TestSharedPtr -> TestSharedPtrDbgInfoContent

Two tests cannot share the same name, because they will generate an
identical trace file. When that happens, this can lead to a race
condition where dotest fails when trying to move both files into the
trace directory, because the file has already been moved. Additionally,
the trace will have been overwritten by the test that finishes last.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContent.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContent.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContent.py?rev=359807&r1=359806&r2=359807&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContent.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContent.py Thu May  2 10:35:18 2019
@@ -6,7 +6,7 @@ from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 
-class TestSharedPtr(TestBase):
+class TestSharedPtrDbgInfoContent(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 




More information about the lldb-commits mailing list