diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-03-07 21:28:57 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-03-07 21:28:57 +0000 |
| commit | 2f6f7ba87940f9aba90aa9bf356c363b2d8a98af (patch) | |
| tree | f2ed6ebef7c89aab3e6311634b14f04cfa9afc41 /lldb/test/python_api/thread/Makefile | |
| parent | 15a29867ed7adab0f8a35f40c4e217c4a7d0fdee (diff) | |
| download | bcm5719-llvm-2f6f7ba87940f9aba90aa9bf356c363b2d8a98af.tar.gz bcm5719-llvm-2f6f7ba87940f9aba90aa9bf356c363b2d8a98af.zip | |
Add TestThreadAPI.py file to house the Python SBThread API test cases.
Currently it has only test cases for SBThread.GetStopDescription() API.
Also modified lldb.swig to add typemap for (char *dst, size_t dst_len)
which occurs for SBThread::GetStopDescription() C++ API. For Python
scripting:
# Due to the typemap magic (see lldb.swig), we pass in an (int)length to GetStopDescription
# and expect to get a Python string as the result object!
# The 100 is just an arbitrary number specifying the buffer size.
stop_description = thread.GetStopDescription(100)
llvm-svn: 127173
Diffstat (limited to 'lldb/test/python_api/thread/Makefile')
| -rw-r--r-- | lldb/test/python_api/thread/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/python_api/thread/Makefile b/lldb/test/python_api/thread/Makefile new file mode 100644 index 00000000000..8a7102e347a --- /dev/null +++ b/lldb/test/python_api/thread/Makefile @@ -0,0 +1,5 @@ +LEVEL = ../../make + +CXX_SOURCES := main.cpp + +include $(LEVEL)/Makefile.rules |

