|
Makes host driven tests use the common sharder.
This also updates the sharder to give the option of 'distribute' vs
'duplicate' for running the given set of tests. 'distribute' uses the
current sharding method (create a pool of tests, have test runner draw
from this pool as they do each test). 'duplicate' is currently used only
for Monkey tests; it duplicates the tests across all test runners. This
is useful for Monkeys tests when we're running on a heterogeneous set of
devices.
In the future, we probably want to move the option to duplicate vs.
distribute to the buildbot config, since it is somewhat dependent on the
actual physics setup (e.g. we don't want to duplicate if all devices are
identical...)
BUG= 176323, 259063, 259128
Total comments: 12
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+334 lines, -517 lines) |
Patch |
 |
M |
build/android/pylib/base/shard.py
|
View
|
1
|
2 chunks |
+65 lines, -19 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/base/shard_unittest.py
|
View
|
1
|
4 chunks |
+35 lines, -6 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/browsertests/dispatch.py
|
View
|
1
2
|
7 chunks |
+14 lines, -21 lines |
0 comments
|
Download
|
 |
A |
build/android/pylib/dispatch.py
|
View
|
1
2
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/gtest/dispatch.py
|
View
|
1
2
|
10 chunks |
+13 lines, -35 lines |
0 comments
|
Download
|
 |
D |
build/android/pylib/host_driven/python_test_caller.py
|
View
|
|
1 chunk |
+0 lines, -115 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/host_driven/python_test_sharder.py
|
View
|
|
2 chunks |
+67 lines, -162 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/host_driven/run_python_tests.py
|
View
|
|
3 chunks |
+37 lines, -63 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/host_driven/tests_annotations.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
build/android/pylib/instrumentation/dispatch.py
|
View
|
1
2
|
3 chunks |
+6 lines, -18 lines |
0 comments
|
Download
|
 |
M |
build/android/pylib/uiautomator/dispatch.py
|
View
|
1
2
|
3 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
build/android/run_monkey_test.py
|
View
|
1
2
|
3 chunks |
+13 lines, -22 lines |
0 comments
|
Download
|
 |
M |
build/android/test_runner.py
|
View
|
|
6 chunks |
+13 lines, -41 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|