[Lldb-commits] [lldb] r255719 - prevent rerun logic from kicking in on test runs including aarch64.
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 15 15:56:26 PST 2015
Author: tfiala
Date: Tue Dec 15 17:56:26 2015
New Revision: 255719
URL: http://llvm.org/viewvc/llvm-project?rev=255719&view=rev
Log:
prevent rerun logic from kicking in on test runs including aarch64.
This is a workaround for:
llvm.org/pr25844
Modified:
lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py?rev=255719&r1=255718&r2=255719&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py Tue Dec 15 17:56:26 2015
@@ -733,8 +733,12 @@ class ResultsFormatter(object):
def _maybe_add_test_to_rerun_list(self, result_event):
key = self._make_key(result_event)
if key is not None:
- if (key in self.rerun_eligible_tests or
- configuration.rerun_all_issues):
+ test_is_directly_eligible = (
+ key in self.rerun_eligible_tests and
+ # llvm.org/pr25844 workaround: temporarily prevent
+ # rerun eligibility when building for Android.
+ "aarch64" not in configuration.archs)
+ if (test_is_directly_eligible or configuration.rerun_all_issues):
test_filename = result_event.get("test_filename", None)
if test_filename is not None:
test_name = result_event.get("test_name", None)
More information about the lldb-commits
mailing list