Minor modification to get the full path to the target program.

llvm-svn: 136815
This commit is contained in:
Johnny Chen 2011-08-03 21:18:23 +00:00
parent bbb1d7a095
commit 1b93d0233f
1 changed files with 2 additions and 1 deletions

View File

@ -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,