summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
-rw-r--r--lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py8
1 files changed, 2 insertions, 6 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 d2a127e999d..786102eae81 100644
--- a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
+++ b/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
@@ -18,13 +18,9 @@ class NonOverlappingIndexVariableCase(TestBase):
# rdar://problem/9890530
def test_eval_index_variable(self):
"""Test expressions of variable 'i' which appears in two for loops."""
- self.buildDefault()
+ self.build()
self.exe_name = 'a.out'
- self.eval_index_variable_i(self.exe_name)
-
- def eval_index_variable_i(self, exe_name):
- """Test expressions of variable 'i' which appears in two for loops."""
- exe = os.path.join(os.getcwd(), exe_name)
+ exe = os.path.join(os.getcwd(), self.exe_name)
self.runCmd("file %s" % exe, CURRENT_EXECUTABLE_SET)
lldbutil.run_break_set_by_file_and_line (self, self.source, self.line_to_break, num_expected_locations=1, loc_exact=True)
OpenPOWER on IntegriCloud