[Lldb-commits] [lldb] r364860 - [lldb] [lldbsuite] Use a unique class name for TestValueVarUpdate

Stella Stamenova via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 1 15:12:55 PDT 2019

Author: stella.stamenova
Date: Mon Jul  1 15:12:55 2019
New Revision: 364860

URL: http://llvm.org/viewvc/llvm-project?rev=364860&view=rev
[lldb] [lldbsuite] Use a unique class name for TestValueVarUpdate

It looks like when this test was added, it was based on TestHelloWorld and it ended up with the same class name. This is an issue because the logs associated with the tests use the class name as the identifier for the file and if two tests have the same name their logs overwrite each other. On non-windows, this just means we lose one of the logs, but on Windows this means that one of the tests will fail occasionally because the file are locked by the other test.


Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py?rev=364860&r1=364859&r2=364860&view=diff
--- lldb/trunk/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py Mon Jul  1 15:12:55 2019
@@ -13,7 +13,7 @@ from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
-class HelloWorldTestCase(TestBase):
+class ValueVarUpdateTestCase(TestBase):
     mydir = TestBase.compute_mydir(__file__)

More information about the lldb-commits mailing list