summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py')
-rw-r--r--lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
index e64e07d20ba..091288d37b6 100644
--- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
+++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
@@ -87,7 +87,7 @@ class CrashingInferiorTestCase(TestBase):
lldbutil.run_break_set_by_file_and_line (self, "main.c", line, num_expected_locations=1, loc_exact=True)
def check_stop_reason(self):
- if self.getPlatform() == "darwin":
+ if self.platformIsDarwin():
stop_reason = 'stop reason = EXC_BAD_ACCESS'
else:
stop_reason = 'stop reason = invalid address'
OpenPOWER on IntegriCloud