Rename test/threads to python_api/lldbutil; it uses lldbutil functions to print stack traces.

llvm-svn: 129828
This commit is contained in:
Johnny Chen 2011-04-19 22:44:20 +00:00
parent 85866ba033
commit 0b8fd43397
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
LEVEL = ../make
LEVEL = ../../make
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO

View File

@ -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__':