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/command_regex/TestCommandRegex.py | |
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/command_regex/TestCommandRegex.py')
-rw-r--r-- | lldb/test/functionalities/command_regex/TestCommandRegex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/command_regex/TestCommandRegex.py b/lldb/test/functionalities/command_regex/TestCommandRegex.py index a404de19dcc..3cc34ac0ae0 100644 --- a/lldb/test/functionalities/command_regex/TestCommandRegex.py +++ b/lldb/test/functionalities/command_regex/TestCommandRegex.py @@ -18,7 +18,7 @@ class CommandRegexTestCase(TestBase): regex_prompt = "Enter regular expressions in the form 's/<regex>/<subst>/' and terminate with an empty line:\r\n" regex_prompt1 = "\r\n" - child = pexpect.spawn('%s' % self.lldbHere) + child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption)) # Turn on logging for what the child sends back. if self.TraceOn(): child.logfile_read = sys.stdout |