[test] Differentiate between exhaustive and default testing variants.

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

Cr-Commit-Position: refs/heads/master@{#31409}
This commit is contained in:
bmeurer 2015-10-20 06:16:33 -07:00 committed by Commit bot
parent 04a338b1c0
commit 58befc9b81
4 changed files with 35 additions and 5 deletions

View File

@ -120,6 +120,26 @@
'test-debug/ScriptBreakPointByIdThroughJavaScript': [PASS, NO_VARIANTS], 'test-debug/ScriptBreakPointByIdThroughJavaScript': [PASS, NO_VARIANTS],
'test-debug/ScriptBreakPointByNameThroughJavaScript': [PASS, NO_VARIANTS], 'test-debug/ScriptBreakPointByNameThroughJavaScript': [PASS, NO_VARIANTS],
# TurboFan doesn't support allocation sites currently.
'test-heap/CellsInOptimizedCodeAreWeak': [PASS, NO_VARIANTS],
'test-heap/EnsureAllocationSiteDependentCodesProcessed': [PASS, NO_VARIANTS],
'test-heap/ObjectsInOptimizedCodeAreWeak': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringAllocationFolding': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringdoubleArrayLiterals': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringDoubleArrayProperties': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringMixedInObjectProperties': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringNestedDoubleLiterals': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringNestedMixedArrayLiterals': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringNestedObjectLiterals': [PASS, NO_VARIANTS],
'test-heap/OptimizedPretenuringObjectArrayLiterals': [PASS, NO_VARIANTS],
# TurboFan cpu profiler result is different.
'test-cpu-profiler/CollectDeoptEvents': [PASS, NO_VARIANTS],
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [PASS, NO_VARIANTS],
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [PASS, NO_VARIANTS],
'test-cpu-profiler/DeoptUntrackedFunction': [PASS, NO_VARIANTS],
'test-cpu-profiler/TickLines': [PASS, NO_VARIANTS],
############################################################################ ############################################################################
# Slow tests. # Slow tests.
'test-api/Threading1': [PASS, ['mode == debug', SLOW]], 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],

View File

@ -155,6 +155,14 @@
# Issue 4493: Bugs due to --turbo-inlining. # Issue 4493: Bugs due to --turbo-inlining.
'tools/profile': [PASS, NO_VARIANTS], 'tools/profile': [PASS, NO_VARIANTS],
# Assumptions about optimization need investigation in TurboFan.
'compiler/inlined-call': [PASS, NO_VARIANTS],
'deopt-with-fp-regs': [PASS, NO_VARIANTS],
'regress-sync-optimized-lists': [PASS, NO_VARIANTS],
# TODO(bmeurer/jarin): Crash in code generator?
'constant-folding-2': [PASS, NO_VARIANTS],
# issue 4078: # issue 4078:
'allocation-site-info': [PASS, NO_VARIANTS], 'allocation-site-info': [PASS, NO_VARIANTS],

View File

@ -90,10 +90,11 @@ TEST_MAP = {
TIMEOUT_DEFAULT = 60 TIMEOUT_DEFAULT = 60
VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"] VARIANTS = ["default", "stress", "turbofan"]
EXHAUSTIVE_VARIANTS = VARIANTS + [ EXHAUSTIVE_VARIANTS = VARIANTS + [
# TODO(machenbach): Add always opt turbo variant. "nocrankshaft",
"turbofan_opt",
] ]
DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination", DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination",

View File

@ -38,7 +38,8 @@ from ..objects import testcase
ALL_VARIANT_FLAGS = { ALL_VARIANT_FLAGS = {
"default": [[]], "default": [[]],
"stress": [["--stress-opt", "--always-opt"]], "stress": [["--stress-opt", "--always-opt"]],
"turbofan": [["--turbo", "--always-opt"]], "turbofan": [["--turbo"]],
"turbofan_opt": [["--turbo", "--always-opt"]],
"nocrankshaft": [["--nocrankshaft"]], "nocrankshaft": [["--nocrankshaft"]],
"ignition": [["--ignition", "--ignition-filter=*"]], "ignition": [["--ignition", "--ignition-filter=*"]],
} }
@ -52,8 +53,8 @@ FAST_VARIANT_FLAGS = {
"ignition": [["--ignition", "--ignition-filter=*"]], "ignition": [["--ignition", "--ignition-filter=*"]],
} }
ALL_VARIANTS = set(["default", "stress", "turbofan", "nocrankshaft", ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
"ignition"]) "nocrankshaft", "ignition"])
FAST_VARIANTS = set(["default", "turbofan"]) FAST_VARIANTS = set(["default", "turbofan"])
STANDARD_VARIANT = set(["default"]) STANDARD_VARIANT = set(["default"])