diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-08-26 00:00:01 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-08-26 00:00:01 +0000 |
commit | d890bfc962294c34d76995d449a3c727d4036eb4 (patch) | |
tree | 2c53c74f59e4db4706a801fa0a2f64622380e257 /lldb/test/functionalities/command_regex/TestCommandRegex.py | |
parent | 9b2cbdfcff8e60cd8b83ba6a506bc30c659f9e96 (diff) | |
download | bcm5719-llvm-d890bfc962294c34d76995d449a3c727d4036eb4.tar.gz bcm5719-llvm-d890bfc962294c34d76995d449a3c727d4036eb4.zip |
Add a new attribute self.lldbHere, representing the fullpath to the 'lldb' executable
built locally from the source tree. This is distinguished from self.lldbExec, which
can be used by test/benchmarks to measure the performances against other debuggers.
You can use environment variable LLDB_EXEC to specify self.lldbExec to the dotest.py
test driver, otherwise it is going to be populated with self.lldbHere.
Modify the regular tests under test dir, i.e., not test/benchmarks, to use self.lldbHere.
Also modify the benchmarks tests to use self.lldbHere when it needs an 'lldb' executable
with debug info to do the performance measurements.
llvm-svn: 138608
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 27bdd87bc11..a404de19dcc 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.lldbExec) + child = pexpect.spawn('%s' % self.lldbHere) # Turn on logging for what the child sends back. if self.TraceOn(): child.logfile_read = sys.stdout |