Rename test/threads to python_api/lldbutil; it uses lldbutil functions to print stack traces.
llvm-svn: 129828
This commit is contained in:
parent
85866ba033
commit
0b8fd43397
|
@ -1,4 +1,4 @@
|
|||
LEVEL = ../make
|
||||
LEVEL = ../../make
|
||||
|
||||
CXX_SOURCES := main.cpp
|
||||
MAKE_DSYM :=NO
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Test SBprocess and SBThread APIs with printing of the stack traces.
|
||||
Test SBprocess and SBThread APIs with printing of the stack traces using lldbutil.
|
||||
"""
|
||||
|
||||
import os, time
|
||||
|
@ -10,7 +10,7 @@ from lldbtest import *
|
|||
|
||||
class ThreadsStackTracesTestCase(TestBase):
|
||||
|
||||
mydir = "threads"
|
||||
mydir = "python_api/lldbutil"
|
||||
|
||||
def setUp(self):
|
||||
# Call super's setUp().
|
||||
|
@ -46,7 +46,8 @@ class ThreadsStackTracesTestCase(TestBase):
|
|||
"instead the actual state is: '%s'" %
|
||||
lldbutil.StateTypeString(self.process.GetState()))
|
||||
|
||||
lldbutil.PrintStackTraces(self.process)
|
||||
if self.TraceOn():
|
||||
lldbutil.PrintStackTraces(self.process)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
Loading…
Reference in New Issue