[test] Teach test runner about whether novfp3 is on or off
authorjochen <jochen@chromium.org>
Tue, 23 Jun 2015 09:43:09 +0000 (02:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Jun 2015 09:43:21 +0000 (09:43 +0000)
BUG=none
R=machenbach@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#29221}

test/mjsunit/mjsunit.status
tools/run-deopt-fuzzer.py
tools/run-tests.py

index f0a38fe..7f871f4 100644 (file)
   '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.
index ec79cbb..4e361ae 100755 (executable)
@@ -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 = []
index dc6ff9f..7647627 100755 (executable)
@@ -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 = []