From: jochen Date: Tue, 23 Jun 2015 09:43:09 +0000 (-0700) Subject: [test] Teach test runner about whether novfp3 is on or off X-Git-Tag: upstream/4.7.83~1819 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22b691ba0ecca783ffea67273bfbc5b2bf2c92d3;p=platform%2Fupstream%2Fv8.git [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} --- diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index f0a38fe..7f871f4 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -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. diff --git a/tools/run-deopt-fuzzer.py b/tools/run-deopt-fuzzer.py index ec79cbb..4e361ae 100755 --- a/tools/run-deopt-fuzzer.py +++ b/tools/run-deopt-fuzzer.py @@ -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 = [] diff --git a/tools/run-tests.py b/tools/run-tests.py index dc6ff9f..7647627 100755 --- a/tools/run-tests.py +++ b/tools/run-tests.py @@ -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 = []