[lldbsuite] Make the names of test classes unique
authorStella Stamenova <stilis@microsoft.com>
Mon, 15 Oct 2018 19:51:21 +0000 (19:51 +0000)
committerStella Stamenova <stilis@microsoft.com>
Mon, 15 Oct 2018 19:51:21 +0000 (19:51 +0000)
Summary:
If the names are not unique, the tests overwrite each other's results and logs. This also causes failures on platforms where the files are locked for writing.

The names of the class/test pairs *have to* always be unique. The easiest way to achieve that is to name each class differently (usually the same as the file name).

Reviewers: jasonmolenda, asmith

Subscribers: clayborg, nemanjai, kbarton, lldb-commits

Differential Revision: https://reviews.llvm.org/D53297

llvm-svn: 344547

lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py

index 0a3d9a5..5a0849f 100644 (file)
@@ -5,7 +5,7 @@ from lldbsuite.test.decorators import *
 from gdbclientutils import *
 
 
-class TestThreadSelectionBug(GDBRemoteTestBase):
+class TestStopPCs(GDBRemoteTestBase):
     def test(self):
         class MyResponder(MockGDBServerResponder):
             def haltReason(self):