Commit ccb262ea authored by yangguo@chromium.org's avatar yangguo@chromium.org

Changed test expectations for ARM and MIPS.

Review URL: http://codereview.chromium.org/7778042

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9084 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ffc6c7e5
......@@ -76,3 +76,7 @@ test-debug/DebugBreakLoop: SKIP
[ $arch == mips ]
test-deoptimization: SKIP
test-serialize: SKIP
# Tests that may time out.
test-api/ExternalArrays: PASS || TIMEOUT
test-api/Threading: PASS || TIMEOUT
......@@ -115,6 +115,9 @@ regress/regress-1132: SKIP
##############################################################################
[ $arch == mips ]
# Run those tests, but expect them to time out.
array-sort: PASS || TIMEOUT
mirror-object: PASS || TIMEOUT
# Skip long-running tests.
compiler/alloc-number: SKIP
......@@ -141,8 +144,11 @@ regress/regress-634: SKIP
regress/regress-create-exception: SKIP
regress/regress-3218915: SKIP
regress/regress-3247124: SKIP
regress/regress-1132: SKIP
regress/regress-1257: SKIP
regress/regress-91008: SKIP
##############################################################################
[ $isolates ]
# d8-os writes temporary files that might interfer with each other when running
# in multible threads. Skip this if running with isolates testing.
......
......@@ -1164,6 +1164,7 @@ def ReadConfigurationInto(path, sections, defs):
ARCH_GUESS = utils.GuessArchitecture()
TIMEOUT_DEFAULT = 60;
def BuildOptions():
......@@ -1188,7 +1189,7 @@ def BuildOptions():
result.add_option("-s", "--suite", help="A test suite",
default=[], action="append")
result.add_option("-t", "--timeout", help="Timeout in seconds",
default=60, type="int")
default=-1, type="int")
result.add_option("--arch", help='The architecture to run tests for',
default='none')
result.add_option("--snapshot", help="Run the tests with snapshot turned on",
......@@ -1262,6 +1263,12 @@ def ProcessOptions(options):
if options.arch == 'none':
options.arch = ARCH_GUESS
options.scons_flags.append("arch=" + options.arch)
# Simulators are slow, therefore allow a longer default timeout.
if options.timeout == -1:
if options.arch == 'arm' or options.arch == 'mips':
options.timeout = 2 * TIMEOUT_DEFAULT;
else:
options.timeout = TIMEOUT_DEFAULT;
if options.snapshot:
options.scons_flags.append("snapshot=on")
global VARIANT_FLAGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment