diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-10-07 19:21:09 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-07 19:21:09 +0000 |
| commit | ebe51726b8578decdf66d2dc175eefccffee4074 (patch) | |
| tree | 725379421aeaa50181f91701e8e2ed90d0e28f57 /lldb/test/functionalities/stop-hook | |
| parent | cf0e4f0dafe445ae2ca9228e41767944329f30c4 (diff) | |
| download | bcm5719-llvm-ebe51726b8578decdf66d2dc175eefccffee4074.tar.gz bcm5719-llvm-ebe51726b8578decdf66d2dc175eefccffee4074.zip | |
If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise.
Set up self.lldbOption to be "--no-lldbibit" unless env variable NO_LLDBIBIT is defined and equals "NO".
Also add "-nx" to gdb spawned.
llvm-svn: 141384
Diffstat (limited to 'lldb/test/functionalities/stop-hook')
| -rw-r--r-- | lldb/test/functionalities/stop-hook/TestStopHookMechanism.py | 2 | ||||
| -rw-r--r-- | lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py index d04aaa88213..466ce5a1e4f 100644 --- a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py +++ b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py @@ -40,7 +40,7 @@ class StopHookMechanismTestCase(TestBase): add_prompt1 = "\r\n> " # So that the child gets torn down after the test. - self.child = pexpect.spawn('%s %s' % (self.lldbHere, exe)) + self.child = pexpect.spawn('%s %s %s' % (self.lldbHere, self.lldbOption, exe)) child = self.child # Turn on logging for what the child sends back. if self.TraceOn(): diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py index bd70119d9bc..8aad81c9b4f 100644 --- a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py +++ b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py @@ -43,7 +43,7 @@ class StopHookForMultipleThreadsTestCase(TestBase): prompt = "(lldb) " # So that the child gets torn down after the test. - self.child = pexpect.spawn('%s %s' % (self.lldbHere, exe)) + self.child = pexpect.spawn('%s %s %s' % (self.lldbHere, self.lldbOption, exe)) child = self.child # Turn on logging for what the child sends back. if self.TraceOn(): |

