summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/asan/TestReportData.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/asan/TestReportData.py')
-rw-r--r--lldb/test/functionalities/asan/TestReportData.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/asan/TestReportData.py b/lldb/test/functionalities/asan/TestReportData.py
index cfa0141dd36..19e0b61498a 100644
--- a/lldb/test/functionalities/asan/TestReportData.py
+++ b/lldb/test/functionalities/asan/TestReportData.py
@@ -2,8 +2,9 @@
Test the AddressSanitizer runtime support for report breakpoint and data extraction.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -78,9 +79,3 @@ class AsanTestReportDataCase(TestBase):
s = s.GetData()
data2 = json.loads(s)
self.assertEqual(data, data2)
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud