Commit 22b691ba authored by jochen's avatar jochen Committed by Commit bot

[test] Teach test runner about whether novfp3 is on or off

BUG=none
R=machenbach@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1204643003

Cr-Commit-Position: refs/heads/master@{#29221}
parent a5af5127
......@@ -245,6 +245,13 @@
'regress/regress-3116': [PASS, ['isolates', FLAKY]],
}], # ALWAYS
['novfp3 == True', {
'asm/embenchen/box2d': [SKIP],
'asm/embenchen/zlib': [SKIP],
'asm/embenchen/memops': [SKIP],
'asm/embenchen/lua_binarytrees': [SKIP],
}], # novfp3 == True
##############################################################################
['gc_stress == True', {
# Skip tests not suitable for GC stress.
......
......@@ -397,6 +397,7 @@ def Execute(arch, mode, args, options, suites, workspace):
"tsan": False,
"msan": False,
"dcheck_always_on": options.dcheck_always_on,
"novfp3": False,
"byteorder": sys.byteorder,
}
all_tests = []
......
......@@ -187,6 +187,9 @@ def BuildOptions():
result.add_option("--dcheck-always-on",
help="Indicates that V8 was compiled with DCHECKs enabled",
default=False, action="store_true")
result.add_option("--novfp3",
help="Indicates that V8 was compiled without VFP3 support",
default=False, action="store_true")
result.add_option("--cat", help="Print the source of the tests",
default=False, action="store_true")
result.add_option("--flaky-tests",
......@@ -369,6 +372,9 @@ def ProcessOptions(options):
options.extra_flags.append("--invoke-weak-callbacks")
options.extra_flags.append("--omit-quit")
if options.novfp3:
options.extra_flags.append("--noenable-vfp3")
if options.msan:
VARIANTS = ["default"]
......@@ -590,6 +596,7 @@ def Execute(arch, mode, args, options, suites, workspace):
"tsan": options.tsan,
"msan": options.msan,
"dcheck_always_on": options.dcheck_always_on,
"novfp3": options.novfp3,
"byteorder": sys.byteorder,
}
all_tests = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment