diff options
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r-- | lldb/test/python_api/lldbutil/TestPrintStackTraces.py | 2 | ||||
-rw-r--r-- | lldb/test/python_api/process/TestProcessAPI.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/python_api/lldbutil/TestPrintStackTraces.py b/lldb/test/python_api/lldbutil/TestPrintStackTraces.py index 22b8d263f28..cdd8c41b1b2 100644 --- a/lldb/test/python_api/lldbutil/TestPrintStackTraces.py +++ b/lldb/test/python_api/lldbutil/TestPrintStackTraces.py @@ -44,7 +44,7 @@ class ThreadsStackTracesTestCase(TestBase): if self.process.GetState() != lldb.eStateStopped: self.fail("Process should be in the 'stopped' state, " "instead the actual state is: '%s'" % - lldbutil.StateTypeString(self.process.GetState())) + lldbutil.state_type_to_str(self.process.GetState())) if self.TraceOn(): lldbutil.print_stacktraces(self.process) diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/test/python_api/process/TestProcessAPI.py index 6b227b1ae47..a2f432afe84 100644 --- a/lldb/test/python_api/process/TestProcessAPI.py +++ b/lldb/test/python_api/process/TestProcessAPI.py @@ -5,7 +5,7 @@ Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others. import os, time import unittest2 import lldb -from lldbutil import get_stopped_thread, StateTypeString +from lldbutil import get_stopped_thread, state_type_to_str from lldbtest import * class ProcessAPITestCase(TestBase): @@ -258,7 +258,7 @@ class ProcessAPITestCase(TestBase): process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error) if self.TraceOn(): - print "process state:", StateTypeString(process.GetState()) + print "process state:", state_type_to_str(process.GetState()) self.assertTrue(process.GetState() != lldb.eStateConnected) success = process.RemoteLaunch(None, None, None, None, None, None, 0, False, error) |