| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 133890
|
|
|
|
|
|
| |
dir.
llvm-svn: 133889
|
|
|
|
|
|
|
|
| |
SBError.Success() after attaching.
Also eat the stdout of the spawned "hello_world" process if not in TraceOn() mode.
llvm-svn: 133280
|
|
|
|
|
|
|
|
|
| |
dwarf/dsym debug setup.
Among them are test cases to exercise SBTarget.AttachToProcessWithName(); we attach to "hello_world",
and verify that, after attachment, the currently selected target indeed matches "hello_world".
llvm-svn: 133279
|
|
|
|
|
|
|
|
| |
setUp() phase.
Change the executable name to be "hello_world".
llvm-svn: 133277
|
|
|
|
| |
llvm-svn: 133230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test case for the SBTarget::AttachToProcessWithID() API call.
o main.c:
The change goes with the added test case test_with_dwarf_and_attach_to_process_with_id_api() above.
o SBTarget.cpp:
Checks whether we're in synchronous mode. If yes, let's wait for the process to stop right after attaching.
llvm-svn: 133223
|
|
|
|
|
|
|
|
|
| |
to self.process
in order to have its process cleaned up (terminated) upon tearDown is gone for good.
Let's simplify a bunch of Python API test cases.
llvm-svn: 133097
|
|
|
|
|
|
|
|
|
| |
TestBase.runCmd() and
remove the self.runStarted attribute since the automatic shutdown of processes associated
with the targets are now performed automatically.
llvm-svn: 133092
|
|
|
|
|
|
|
|
| |
simplify our base class.
It was introduced to work around some debugger infrastructure bug which has long since been fixed.
llvm-svn: 132951
|
|
|
|
|
|
|
| |
those lldb objects which implement the IsValid() method, let's change the rest of
the test suite to use the more compact truth value testing pattern (the Python way).
llvm-svn: 131970
|
|
|
|
|
|
|
|
| |
be consistent.
And modify the test cases accordingly.
llvm-svn: 130314
|
|
|
|
| |
llvm-svn: 129784
|
|
|
|
| |
llvm-svn: 124828
|
|
|
|
|
|
| |
SWIG renaming done to work around deprecated APIs.
llvm-svn: 124075
|
|
|
|
| |
llvm-svn: 121448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as the args and the envs to the launched process.
o lldbtest.py:
Forgot to check in some assertion messages changes for lldbtest.py.
o dotest.py:
Also add "api" category to the default lldb log option list.
llvm-svn: 121220
|
|
|
|
|
|
| |
thread.GetStopReason().
llvm-svn: 118731
|
|
|
|
|
|
|
|
| |
asserting:
thread.GetStopReason() == lldb.eStopReasonBreakpoint
llvm-svn: 118713
|
|
|
|
|
|
| |
module.
llvm-svn: 115922
|
|
|
|
|
|
| |
condition has been fixed.
llvm-svn: 115826
|
|
|
|
|
|
|
|
|
|
| |
method where they belong. Also fixed a logic error in maintaining the command
interface flag (runStarted) indicating whether the lldb "run"/"process launch"
command has been issued. It was erroneously cleared.
Modified the test cases to take advantage of the refactoring.
llvm-svn: 112863
|
|
|
|
| |
llvm-svn: 112824
|
|
|
|
| |
llvm-svn: 112750
|
|
|
|
| |
llvm-svn: 112749
|
|
|
|
| |
llvm-svn: 112732
|
|
|
|
|
|
| |
them from test cases instead of issuing "make clean; make ..." os command.
llvm-svn: 112542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
taken from Python 2.7's subprocess.check_output() convenience function. The
purpose of this method is to run the os command with arguments and return its
output as a byte string.
Modified hello_world/TestHelloWorld.py to have two test cases:
o test_with_dsym_and_run_command
o test_with_dwarf_and_process_launch_api
with the dsym case conditioned on sys.platform.startswith("darwin") being true.
The two cases utilize the system() method to invoke "make clean; make MAKE_DYSM=YES/NO"
to prepare for the appropriate debugging format before running the test logic.
llvm-svn: 112530
|
|
|
|
| |
llvm-svn: 112311
|
|
and process. Added comment within the file about issues of using LaunchProcess
of SBTarget to launch a process (rdar://problem/8364687).
llvm-svn: 112276
|