[Lldb-commits] [lldb] r136815 - /lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py

Johnny Chen johnny.chen at apple.com
Wed Aug 3 14:18:23 PDT 2011


Author: johnny
Date: Wed Aug  3 16:18:23 2011
New Revision: 136815

URL: http://llvm.org/viewvc/llvm-project?rev=136815&view=rev
Log:
Minor modification to get the full path to the target program.

Modified:
    lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py

Modified: lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py?rev=136815&r1=136814&r2=136815&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py (original)
+++ lldb/trunk/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py Wed Aug  3 16:18:23 2011
@@ -24,7 +24,8 @@
 
     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,





More information about the lldb-commits mailing list