WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92805
nrwt: move sharding logic into layout_test_runner.py
https://bugs.webkit.org/show_bug.cgi?id=92805
Summary
nrwt: move sharding logic into layout_test_runner.py
Dirk Pranke
Reported
2012-07-31 16:07:36 PDT
nrwt: move sharding logic into layout_test_runner.py
Attachments
Patch
(57.04 KB, patch)
2012-07-31 16:08 PDT
,
Dirk Pranke
rniwa
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-07-31 16:08:45 PDT
Created
attachment 155661
[details]
Patch
Ryosuke Niwa
Comment 2
2012-07-31 18:31:00 PDT
Comment on
attachment 155661
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=155661&action=review
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:370 > + 'locked_shard'),
Nit: wrong indentation.
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:402 > + extract_and_flatten(some_shards)))
Nit: wrong indentation.
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:407 > + def _dir_for_test_input(self, test_input): > + """Returns the highest-level directory by which to shard the given > + test file."""
I would rename the function to _highest_dir_to_shard_for_test_input and get rid of the comment.
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:411 > + # TODO(ojan): Make the http server on Windows be apache so we can
Nit: TODO -> FIXME.
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:433 > +
http://www.codinghorror.com/blog/2007/12/sorting-for-humans-natural-sort-order.html
> +
http://nedbatchelder.com/blog/200712.html#e20071211T054956
Why are these URLs indented?
> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:2 > +# Copyright (C) 2010 Google Inc. All rights reserved.
Maybe update the date here?
Dirk Pranke
Comment 3
2012-07-31 18:39:21 PDT
Comment on
attachment 155661
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=155661&action=review
I will fix all the comments and changes. Thanks for the review!
>> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:433 >> +
http://nedbatchelder.com/blog/200712.html#e20071211T054956
> > Why are these URLs indented?
It made things easier to read?
Ryosuke Niwa
Comment 4
2012-07-31 18:40:16 PDT
Comment on
attachment 155661
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=155661&action=review
>>> Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:433 >>> +
http://nedbatchelder.com/blog/200712.html#e20071211T054956
>> >> Why are these URLs indented? > > It made things easier to read?
I think they're easy to read without indentations :)
Dirk Pranke
Comment 5
2012-07-31 18:48:18 PDT
Committed
r124280
: <
http://trac.webkit.org/changeset/124280
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug