[Lldb-commits] [lldb] r344547 - [lldbsuite] Make the names of test classes unique
Stella Stamenova via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 15 12:51:21 PDT 2018
Author: stella.stamenova
Date: Mon Oct 15 12:51:21 2018
New Revision: 344547
URL: http://llvm.org/viewvc/llvm-project?rev=344547&view=rev
Log:
[lldbsuite] Make the names of test classes unique
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
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py?rev=344547&r1=344546&r2=344547&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py Mon Oct 15 12:51:21 2018
@@ -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):
More information about the lldb-commits
mailing list