prevent rerun logic from kicking in on test runs including aarch64.

This is a workaround for:
llvm.org/pr25844

llvm-svn: 255719
This commit is contained in:
Todd Fiala 2015-12-15 23:56:26 +00:00
parent e376ba0331
commit 54e120910c
1 changed files with 6 additions and 2 deletions

View File

@ -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)