summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-04-06 11:05:30 +0000
committerPavel Labath <labath@google.com>2016-04-06 11:05:30 +0000
commitb1f7d4d79cbc720bba2c0f82cfe0a0e0c6077896 (patch)
treee1eb1a144d49c150c13c776a2df7111e012b9182 /lldb/packages/Python/lldbsuite
parent6e1408a8914458e4a6a54239e047b073d962bebc (diff)
downloadbcm5719-llvm-b1f7d4d79cbc720bba2c0f82cfe0a0e0c6077896.tar.gz
bcm5719-llvm-b1f7d4d79cbc720bba2c0f82cfe0a0e0c6077896.zip
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. llvm-svn: 265529
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
index 5eb33d08c5e..fb876c256b8 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
@@ -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)
OpenPOWER on IntegriCloud