summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-26 00:00:01 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-26 00:00:01 +0000
commitd890bfc962294c34d76995d449a3c727d4036eb4 (patch)
tree2c53c74f59e4db4706a801fa0a2f64622380e257 /lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
parent9b2cbdfcff8e60cd8b83ba6a506bc30c659f9e96 (diff)
downloadbcm5719-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/embedded_interpreter/TestConvenienceVariables.py')
-rw-r--r--lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
index 2e5b2c13607..d407d8dda87 100644
--- a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
+++ b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
@@ -34,7 +34,7 @@ class ConvenienceVariablesCase(TestBase):
python_prompt = ">>> "
# So that the child gets torn down after the test.
- self.child = pexpect.spawn('%s %s' % (self.lldbExec, exe))
+ self.child = pexpect.spawn('%s %s' % (self.lldbHere, exe))
child = self.child
# Turn on logging for what the child sends back.
if self.TraceOn():
OpenPOWER on IntegriCloud