WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92527
nrwt: clean up handling of 'expected' stats in the non-default cases
https://bugs.webkit.org/show_bug.cgi?id=92527
Summary
nrwt: clean up handling of 'expected' stats in the non-default cases
Dirk Pranke
Reported
2012-07-27 12:04:30 PDT
nrwt: clean up handling of 'expected' stats and interaction with --run-part and --run-chunk
Attachments
Patch
(22.04 KB, patch)
2012-07-27 12:18 PDT
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
remove wontfix from add_skipped_tests, expectation_for_skipped_tests
(21.55 KB, patch)
2012-07-30 16:51 PDT
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-07-27 12:18:06 PDT
Created
attachment 155017
[details]
Patch
Dirk Pranke
Comment 2
2012-07-27 12:20:33 PDT
the interplay of --iterations, --repeat-each, -run-part, and -run-chunk with the way we logged how many tests to run and what we expected the results to be was confusing and badly layered. This patch attempts to clean that up, and was necessary in order to split the finding, chunking, and sharding of tests out from the running of tests without having all sorts of weird callbacks. Apart from logging slightly different numbers, there should be no functional changes in this patch; in particular; the contents of results.json should be unchanged.
Tony Chang
Comment 3
2012-07-30 15:33:59 PDT
Comment on
attachment 155017
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=155017&action=review
> Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:887 > + def add_skipped_tests(self, tests_to_skip, wontfix=True):
I don't see either of the callers passing in False for wontfix. Can we drop this param?
Dirk Pranke
Comment 4
2012-07-30 16:40:08 PDT
(In reply to
comment #3
)
> (From update of
attachment 155017
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=155017&action=review
> > > Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:887 > > + def add_skipped_tests(self, tests_to_skip, wontfix=True): > > I don't see either of the callers passing in False for wontfix. Can we drop this param?
Good catch. It's not clear when tests skipped via the Skipped file, the command line, or because we're only running parts of the test should be WONTFIX or not, but I'm not sure it matters that much, either.
Dirk Pranke
Comment 5
2012-07-30 16:51:03 PDT
Created
attachment 155400
[details]
remove wontfix from add_skipped_tests, expectation_for_skipped_tests
Dirk Pranke
Comment 6
2012-07-30 17:02:03 PDT
Committed
r124116
: <
http://trac.webkit.org/changeset/124116
>
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