• ricow@chromium.org's avatar
    Enable sharding of individual testsuites in tools/test.py · b4ea8c7f
    ricow@chromium.org authored
    This patch enables two new flags for the tools/test.py script;
    --shard-count - giving the ability to split the tests to be run
    into shard-count chunks.
    --shard-run - giving the ability to specify which of the shards to actually run.
    
    Example
      tools/test.py -j15 --shard-count=2 --shard-run=1 mozilla
    would split the mozilla tests into two chunks and run the tests in the first chunk
    
    Running:
      tools/test.py -j15 --shard-count=2 --shard-run=1 mozilla
      tools/test.py -j15 --shard-count=2 --shard-run=2 mozilla
    is equivalent (in terms of test coverage) of just running:
      tools/test.py -j15 mozilla
    
    In addition, tests are now sorted before they are returned from the
    test specific ListTests methods (sputnik and mozilla tests where
    already sorted before they where returned).
    
    This change is needed to split a single test suite over two slaves on
    the waterfall.
    
    
    Review URL: http://codereview.chromium.org/6127003
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6248 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    b4ea8c7f
Name
Last commit
Last update
..
gyp Loading commit data...
oom_dump Loading commit data...
oprofile Loading commit data...
v8.xcodeproj Loading commit data...
visual_studio Loading commit data...
codemap.js Loading commit data...
consarray.js Loading commit data...
csvparser.js Loading commit data...
gc-nvp-trace-processor.py Loading commit data...
generate-ten-powers.scm Loading commit data...
js2c.py Loading commit data...
jsmin.py Loading commit data...
linux-tick-processor Loading commit data...
linux-tick-processor.py Loading commit data...
ll_prof.py Loading commit data...
logreader.js Loading commit data...
mac-nm Loading commit data...
mac-tick-processor Loading commit data...
presubmit.py Loading commit data...
process-heap-prof.py Loading commit data...
profile.js Loading commit data...
profile_view.js Loading commit data...
run-valgrind.py Loading commit data...
splaytree.js Loading commit data...
splaytree.py Loading commit data...
stats-viewer.py Loading commit data...
test.py Loading commit data...
tickprocessor-driver.js Loading commit data...
tickprocessor.js Loading commit data...
tickprocessor.py Loading commit data...
utils.py Loading commit data...
windows-tick-processor.bat Loading commit data...
windows-tick-processor.py Loading commit data...