[test] Skip flaky test on ODROIDs

Also add the ability to skip tests only when --optimize-for-size is passed.

TBR=sergiyb@chromium.org

Bug: v8:7819
Change-Id: I1dcc26ea8664d014b6c50f0d636c13bf21e26ff2
Reviewed-on: https://chromium-review.googlesource.com/c/1328945
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57396}
This commit is contained in:
Michael Achenbach 2018-11-09 12:57:29 +01:00 committed by Commit Bot
parent ed397a900d
commit 1f147c50af
2 changed files with 7 additions and 0 deletions

View File

@ -387,6 +387,12 @@
'test-api/NewStringRangeError': [SKIP], 'test-api/NewStringRangeError': [SKIP],
}], # 'system == android' }], # 'system == android'
##############################################################################
['system != android and arch in [arm, arm64] and not simulator_run', {
# Consumes too much memory on ODROIDs in debug mode and optimize_for_size.
'test-code-generator/FuzzAssemble*': [PASS, ['(mode == debug or dcheck_always_on) and optimize_for_size', SKIP]],
}], # 'system != android and arch in [arm, arm64] and not simulator_run'
############################################################################## ##############################################################################
['system == aix and arch == ppc64', { ['system == aix and arch == ppc64', {

View File

@ -655,6 +655,7 @@ class BaseTestRunner(object):
"no_i18n": self.build_config.no_i18n, "no_i18n": self.build_config.no_i18n,
"no_snap": self.build_config.no_snap, "no_snap": self.build_config.no_snap,
"novfp3": False, "novfp3": False,
"optimize_for_size": "--optimize-for-size" in options.extra_flags,
"predictable": self.build_config.predictable, "predictable": self.build_config.predictable,
"simd_mips": simd_mips, "simd_mips": simd_mips,
"simulator_run": False, "simulator_run": False,