Summary: | new-run-webkit-tests: support --repeat-each feature from old-run-webkit-tests | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mikhail Naganov <mnaganov> | ||||
Component: | Tools / Tests | Assignee: | Eric Seidel (no email) <eric> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, dpranke, eric, inferno, ojan, rniwa, tony, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 64491 | ||||||
Attachments: |
|
Description
Mikhail Naganov
2011-06-07 02:39:39 PDT
*** Bug 65894 has been marked as a duplicate of this bug. *** Created attachment 113828 [details]
Patch
Dirk: I assume it's kosher that I'm making self._test_files_list out of sync (count-wise) with self._test_files? I mean, I guess it's not really out of sync since the list would still colapse down to a set, but there are repeats in self._test_files_list. I assume this approximately matches what NRWT would do if I passed it: new-run-webkit-tests foo.html foo.html Comment on attachment 113828 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113828&action=review > Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:507 > + # FIXME: It's unclear how --repeat-each and --iterations should interact with chunks? I'd probably just make them mutually exclusive for now. chunks are only used on the bots and aren't likely to need either of those flags. Change looks fine. I'm cq-'ing it in case you want to make the flags mutually exclusive as I suggest (and possibly add some tests enforcing that). I don't feel strongly about it, however, so you can leave things as-is or just update the fixme to say that you should make them mutually exclusive at some point. Comment on attachment 113828 [details]
Patch
Thanks for the review! I think I'll just leave the code as-is for now, and see if anyone complains. :) I think the behavior as written is reasonable, and probably slightly better than an assert.
Comment on attachment 113828 [details] Patch Clearing flags on attachment: 113828 Committed r99461: <http://trac.webkit.org/changeset/99461> All reviewed patches have been landed. Closing bug. |