Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: tools/testrunner/local/testsuite.py

Issue 1420963009: [Interpreter]: Add ignition blacklist to mjsunit.status and test262.status. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move TopLevelFunctionPassesFilter Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« tools/run-tests.py ('K') | « tools/run-tests.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 23 matching lines...) Expand all
34 from . import utils 34 from . import utils
35 from ..objects import testcase 35 from ..objects import testcase
36 36
37 # Use this to run several variants of the tests. 37 # Use this to run several variants of the tests.
38 ALL_VARIANT_FLAGS = { 38 ALL_VARIANT_FLAGS = {
39 "default": [[]], 39 "default": [[]],
40 "stress": [["--stress-opt", "--always-opt"]], 40 "stress": [["--stress-opt", "--always-opt"]],
41 "turbofan": [["--turbo"]], 41 "turbofan": [["--turbo"]],
42 "turbofan_opt": [["--turbo", "--always-opt"]], 42 "turbofan_opt": [["--turbo", "--always-opt"]],
43 "nocrankshaft": [["--nocrankshaft"]], 43 "nocrankshaft": [["--nocrankshaft"]],
44 "ignition": [["--ignition", "--ignition-filter=*"]], 44 "ignition": [["--ignition", "--ignition-filter=*",
45 "--ignition-fake-try-catch",
46 "--ignition-fallback-on-eval-and-catch"]],
45 } 47 }
46 48
47 # FAST_VARIANTS implies no --always-opt. 49 # FAST_VARIANTS implies no --always-opt.
48 FAST_VARIANT_FLAGS = { 50 FAST_VARIANT_FLAGS = {
49 "default": [[]], 51 "default": [[]],
50 "stress": [["--stress-opt"]], 52 "stress": [["--stress-opt"]],
51 "turbofan": [["--turbo"]], 53 "turbofan": [["--turbo"]],
52 "nocrankshaft": [["--nocrankshaft"]], 54 "nocrankshaft": [["--nocrankshaft"]],
53 "ignition": [["--ignition", "--ignition-filter=*"]], 55 "ignition": [["--ignition", "--ignition-filter=*",
56 "--ignition-fake-try-catch",
57 "--ignition-fallback-on-eval-and-catch"]],
54 } 58 }
55 59
56 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", 60 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
57 "nocrankshaft", "ignition"]) 61 "nocrankshaft", "ignition"])
58 FAST_VARIANTS = set(["default", "turbofan"]) 62 FAST_VARIANTS = set(["default", "turbofan"])
59 STANDARD_VARIANT = set(["default"]) 63 STANDARD_VARIANT = set(["default"])
60 64
61 65
62 class VariantGenerator(object): 66 class VariantGenerator(object):
63 def __init__(self, suite, variants): 67 def __init__(self, suite, variants):
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 return (testcase.flags + ["--gtest_filter=" + testcase.path] + 332 return (testcase.flags + ["--gtest_filter=" + testcase.path] +
329 ["--gtest_random_seed=%s" % context.random_seed] + 333 ["--gtest_random_seed=%s" % context.random_seed] +
330 ["--gtest_print_time=0"] + 334 ["--gtest_print_time=0"] +
331 context.mode_flags) 335 context.mode_flags)
332 336
333 def _VariantGeneratorFactory(self): 337 def _VariantGeneratorFactory(self):
334 return StandardVariantGenerator 338 return StandardVariantGenerator
335 339
336 def shell(self): 340 def shell(self):
337 return self.name 341 return self.name
OLDNEW
« tools/run-tests.py ('K') | « tools/run-tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698