diff options
author | ojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 18:03:45 +0000 |
---|---|---|
committer | ojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 18:03:45 +0000 |
commit | ab068b594d056990cbfc7db164d093ad901421de (patch) | |
tree | ffb701c7d5d60a828b90fad499135e41e8fbe860 /webkit | |
parent | 42258583b4e87f537722a0461faf24620450feb9 (diff) | |
download | chromium_src-ab068b594d056990cbfc7db164d093ad901421de.zip chromium_src-ab068b594d056990cbfc7db164d093ad901421de.tar.gz chromium_src-ab068b594d056990cbfc7db164d093ad901421de.tar.bz2 |
Shard the loader directory. Should eek out ~20-40 more seconds on
a couple builders.
Review URL: http://codereview.chromium.org/506004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rwxr-xr-x | webkit/tools/layout_tests/run_webkit_tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py index 57f10b5..10915f7 100755 --- a/webkit/tools/layout_tests/run_webkit_tests.py +++ b/webkit/tools/layout_tests/run_webkit_tests.py @@ -151,7 +151,7 @@ class TestRunner: self._http_server = http_server.Lighttpd(options.results_directory) self._shardable_directories = ['chrome', 'LayoutTests', 'pending', 'fast', - 'svg'] + 'svg', 'loader'] # The http tests are very stable on mac/linux. # TODO(ojan): Make the http server on Windows be apache so we can turn @@ -380,7 +380,8 @@ class TestRunner: test_file = test_file_parts[1] return_value = directory - while directory in self._shardable_directories: + while (directory in self._shardable_directories and + test_file.find(os.sep) >= 0): test_file_parts = test_file.split(os.sep, 1) directory = test_file_parts[0] return_value = os.path.join(return_value, directory) |