[Lldb-commits] [lldb] r265529 - Fixup TestLinuxCore on windows

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 6 04:05:33 PDT 2016


Author: labath
Date: Wed Apr  6 06:05:30 2016
New Revision: 265529

URL: http://llvm.org/viewvc/llvm-project?rev=265529&view=rev
Log:
Fixup TestLinuxCore on windows

test_same_pid_running couldn't delete the temporary files, while we had them open. Deleting the
target should make things work.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py?rev=265529&r1=265528&r2=265529&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py Wed Apr  6 06:05:30 2016
@@ -92,3 +92,5 @@ class LinuxCoreTestCase(TestBase):
             self.assertEqual(frame.GetLineEntry().GetLine(),
                     line_number("main.c", "Frame " + backtrace[i]))
             self.assertEqual(frame.FindVariable("F").GetValueAsUnsigned(), ord(backtrace[i][0]))
+
+        self.dbg.DeleteTarget(target)




More information about the lldb-commits mailing list