[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 f0a38fec528bef003bb2f70187ec163ffa30e5aa..7f871f4f4879b07231a9e4c134593d5fa270bd18 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 ec79cbb51de5f22a5db8bfeae051857f0273f469..4e361ae9c8244d9b10311188dd033acdbbc0624a 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 dc6ff9f7d63c5597afa2b598e388b1e071f163ee..76476271f1241a60b2d737257b04acb785f1782f 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 = []