summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-03 21:18:23 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-03 21:18:23 +0000
commit1b93d0233f907b7c7e384604fe0b92692d0f36b5 (patch)
treea9977902238b2afbf38b19fc1b46a2e231ce74ff
parentbbb1d7a095c76b7f18da7a86f0ae3cadadc63551 (diff)
downloadbcm5719-llvm-1b93d0233f907b7c7e384604fe0b92692d0f36b5.tar.gz
bcm5719-llvm-1b93d0233f907b7c7e384604fe0b92692d0f36b5.zip
Minor modification to get the full path to the target program.
llvm-svn: 136815
-rw-r--r--lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py b/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
index b1effd20dcb..9e93677f3f8 100644
--- a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
+++ b/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
@@ -24,7 +24,8 @@ class NonOverlappingIndexVariableCase(TestBase):
def eval_index_variable_i(self, exe_name):
"""Test expressions of variable 'i' which appears in two for loops."""
- self.runCmd("file %s" % exe_name, CURRENT_EXECUTABLE_SET)
+ exe = os.path.join(os.getcwd(), exe_name)
+ self.runCmd("file %s" % exe, CURRENT_EXECUTABLE_SET)
self.expect('breakpoint set -f %s -l %d' % (self.source, self.line_to_break),
BREAKPOINT_CREATED,
OpenPOWER on IntegriCloud