summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-02-02 23:56:45 +0000
committerZachary Turner <zturner@google.com>2016-02-02 23:56:45 +0000
commit0d473d12fef8c7e1f0843bab2a74583b2f5da1f5 (patch)
tree86ed5719cd1bf6f9a7e8159059587f55d6483207 /lldb/packages/Python/lldbsuite/test
parentb90168ff419f76ee14464bf72d342656954bf99b (diff)
downloadbcm5719-llvm-0d473d12fef8c7e1f0843bab2a74583b2f5da1f5.tar.gz
bcm5719-llvm-0d473d12fef8c7e1f0843bab2a74583b2f5da1f5.zip
Fix inverted conditional in TestInferiorAssert.py
llvm-svn: 259608
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
index 14e09637e38..b4601c127c6 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
@@ -60,8 +60,8 @@ class AssertingInferiorTestCase(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):
- match_failure_reason = matchAndroid(api_levels=list(range(1, 16+1)))(self)
- if match_failure_reason is None:
+ match_result = matchAndroid(api_levels=list(range(1, 16+1)))(self)
+ if match_result is not None:
# On android until API-16 the abort() call ended in a sigsegv instead of in a sigabrt
stop_reason = 'stop reason = signal SIGSEGV'
else:
OpenPOWER on IntegriCloud