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 @@ ...@@ -245,6 +245,13 @@
'regress/regress-3116': [PASS, ['isolates', FLAKY]], 'regress/regress-3116': [PASS, ['isolates', FLAKY]],
}], # ALWAYS }], # 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', { ['gc_stress == True', {
# Skip tests not suitable for GC stress. # Skip tests not suitable for GC stress.
......
...@@ -397,6 +397,7 @@ def Execute(arch, mode, args, options, suites, workspace): ...@@ -397,6 +397,7 @@ def Execute(arch, mode, args, options, suites, workspace):
"tsan": False, "tsan": False,
"msan": False, "msan": False,
"dcheck_always_on": options.dcheck_always_on, "dcheck_always_on": options.dcheck_always_on,
"novfp3": False,
"byteorder": sys.byteorder, "byteorder": sys.byteorder,
} }
all_tests = [] all_tests = []
......
...@@ -187,6 +187,9 @@ def BuildOptions(): ...@@ -187,6 +187,9 @@ def BuildOptions():
result.add_option("--dcheck-always-on", result.add_option("--dcheck-always-on",
help="Indicates that V8 was compiled with DCHECKs enabled", help="Indicates that V8 was compiled with DCHECKs enabled",
default=False, action="store_true") 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", result.add_option("--cat", help="Print the source of the tests",
default=False, action="store_true") default=False, action="store_true")
result.add_option("--flaky-tests", result.add_option("--flaky-tests",
...@@ -369,6 +372,9 @@ def ProcessOptions(options): ...@@ -369,6 +372,9 @@ def ProcessOptions(options):
options.extra_flags.append("--invoke-weak-callbacks") options.extra_flags.append("--invoke-weak-callbacks")
options.extra_flags.append("--omit-quit") options.extra_flags.append("--omit-quit")
if options.novfp3:
options.extra_flags.append("--noenable-vfp3")
if options.msan: if options.msan:
VARIANTS = ["default"] VARIANTS = ["default"]
...@@ -590,6 +596,7 @@ def Execute(arch, mode, args, options, suites, workspace): ...@@ -590,6 +596,7 @@ def Execute(arch, mode, args, options, suites, workspace):
"tsan": options.tsan, "tsan": options.tsan,
"msan": options.msan, "msan": options.msan,
"dcheck_always_on": options.dcheck_always_on, "dcheck_always_on": options.dcheck_always_on,
"novfp3": options.novfp3,
"byteorder": sys.byteorder, "byteorder": sys.byteorder,
} }
all_tests = [] 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