Revision: 18086
Author:   machenb...@chromium.org
Date:     Tue Nov 26 16:53:04 2013 UTC
Log:      Increase test runner speed.

Let the test runner preserve the order of test suites to let suites with long running tests run first.

Mark some tests as slow that can now be skipped via --slow-tests=skip.

BUG=
R=yang...@chromium.org

Review URL: https://codereview.chromium.org/88343002
http://code.google.com/p/v8/source/detail?r=18086

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

=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Wed Nov 20 17:09:17 2013 UTC +++ /branches/bleeding_edge/test/cctest/cctest.status Tue Nov 26 16:53:04 2013 UTC
@@ -60,6 +60,13 @@
# running several variants. Note that this still takes ages, because there
   # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
   'test-parsing/ParserSync': [PASS, NO_VARIANTS],
+
+ ############################################################################
+  # Slow tests.
+  'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
+  'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
+  'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
+  'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
 }],  # ALWAYS

##############################################################################
@@ -89,6 +96,13 @@
   'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
   'test-serialize/DeserializeAndRunScript2': [SKIP],
   'test-serialize/DeserializeFromSecondSerialization': [SKIP],
+
+ ############################################################################
+  # Slow tests.
+  'test-api/Threading1': [PASS, SLOW],
+  'test-api/Threading2': [PASS, SLOW],
+  'test-api/Threading3': [PASS, SLOW],
+  'test-api/Threading4': [PASS, SLOW],
 }],  # 'arch == arm'

##############################################################################
=======================================
--- /branches/bleeding_edge/test/mjsunit/mjsunit.status Wed Nov 20 17:09:17 2013 UTC +++ /branches/bleeding_edge/test/mjsunit/mjsunit.status Tue Nov 26 16:53:04 2013 UTC
@@ -33,7 +33,7 @@
##############################################################################
   # Flaky tests.
   # BUG(v8:2921).
-  'debug-step-4-in-frame': [PASS, FAIL],
+  'debug-step-4-in-frame': [PASS, FAIL, SLOW],

##############################################################################
   # Fails.
@@ -160,6 +160,18 @@

   # Currently always deopt on minus zero
   'math-floor-of-div-minus-zero': [SKIP],
+
+ ############################################################################
+  # Slow tests.
+  'regress/regress-2185-2': [PASS, SLOW],
+  'mirror-object': [PASS, SLOW],
+  'compiler/osr-with-args': [PASS, SLOW],
+  'array-sort': [PASS, SLOW],
+  'packed-elements': [PASS, SLOW],
+  'regress/regress-91008': [PASS, SLOW],
+  'regress/regress-2790': [PASS, SLOW],
+  'regress/regress-json-stringify-gc': [PASS, SLOW],
+  'regress/regress-1122': [PASS, SLOW],
 }],  # 'arch == arm or arch == android_arm'

##############################################################################
=======================================
--- /branches/bleeding_edge/tools/run-tests.py  Mon Nov 25 17:34:52 2013 UTC
+++ /branches/bleeding_edge/tools/run-tests.py  Tue Nov 26 16:53:04 2013 UTC
@@ -293,14 +293,14 @@
   suite_paths = utils.GetSuitePaths(join(workspace, "test"))

   if len(args) == 0:
-    suite_paths = [ s for s in suite_paths if s in DEFAULT_TESTS ]
+    suite_paths = [ s for s in DEFAULT_TESTS if s in suite_paths ]
   else:
     args_suites = set()
     for arg in args:
       suite = arg.split(os.path.sep)[0]
       if not suite in args_suites:
         args_suites.add(suite)
-    suite_paths = [ s for s in suite_paths if s in args_suites ]
+    suite_paths = [ s for s in args_suites if s in suite_paths ]

   suites = []
   for root in suite_paths:

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to