Reviewers: Yang,
Message:
PTAL
Description:
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=
Please review this at https://codereview.chromium.org/88343002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+24, -3 lines):
M test/cctest/cctest.status
M test/mjsunit/mjsunit.status
M tools/run-tests.py
Index: test/cctest/cctest.status
diff --git a/test/cctest/cctest.status b/test/cctest/cctest.status
index
a596add43abf8bd5202d3f3abea575a04fbf40ad..267e392872a4cb15e99ab68e137eba1c61a0a6a3
100644
--- a/test/cctest/cctest.status
+++ b/test/cctest/cctest.status
@@ -60,6 +60,11 @@
# 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/Threading4': [PASS, ['mode == debug', SLOW]],
}], # ALWAYS
##############################################################################
@@ -89,6 +94,10 @@
'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
'test-serialize/DeserializeAndRunScript2': [SKIP],
'test-serialize/DeserializeFromSecondSerialization': [SKIP],
+
+
############################################################################
+ # Slow tests.
+ 'test-api/Threading1': [PASS, SLOW],
}], # 'arch == arm'
##############################################################################
Index: test/mjsunit/mjsunit.status
diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status
index
be3ec529110bc96e85f38a29d52ee1f9d92787ce..a0b45a0f133dfd4f0cff1718f624fcab47f9b71e
100644
--- a/test/mjsunit/mjsunit.status
+++ b/test/mjsunit/mjsunit.status
@@ -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'
##############################################################################
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index
32b3f49a9fecc5afe98469dad3dc564910464662..79095f6359187905ddb80e3c2bc6b83469e4bb1c
100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -293,14 +293,14 @@ def Main():
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
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.