Revision: 9084
Author:   [email protected]
Date:     Wed Aug 31 07:12:25 2011
Log:      Changed test expectations for ARM and MIPS.

Review URL: http://codereview.chromium.org/7778042
http://code.google.com/p/v8/source/detail?r=9084

Modified:
 /branches/bleeding_edge/test/cctest/cctest.status
 /branches/bleeding_edge/test/mjsunit/mjsunit.status
 /branches/bleeding_edge/tools/test.py

=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Wed Aug 3 05:48:30 2011 +++ /branches/bleeding_edge/test/cctest/cctest.status Wed Aug 31 07:12:25 2011
@@ -76,3 +76,7 @@
 [ $arch == mips ]
 test-deoptimization: SKIP
 test-serialize: SKIP
+
+# Tests that may time out.
+test-api/ExternalArrays: PASS || TIMEOUT
+test-api/Threading: PASS || TIMEOUT
=======================================
--- /branches/bleeding_edge/test/mjsunit/mjsunit.status Wed Jul 6 01:20:30 2011 +++ /branches/bleeding_edge/test/mjsunit/mjsunit.status Wed Aug 31 07:12:25 2011
@@ -115,6 +115,9 @@

##############################################################################
 [ $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-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.
=======================================
--- /branches/bleeding_edge/tools/test.py       Wed Aug 10 04:07:31 2011
+++ /branches/bleeding_edge/tools/test.py       Wed Aug 31 07:12:25 2011
@@ -1164,6 +1164,7 @@


 ARCH_GUESS = utils.GuessArchitecture()
+TIMEOUT_DEFAULT = 60;


 def BuildOptions():
@@ -1188,7 +1189,7 @@
   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 @@
     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

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to