Bug 143093

Summary: webkit-patch build-and-test should have an option to iterate over new tests
Product: WebKit Reporter: youenn fablet <youennf>
Component: Tools / TestsAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, bfulgham, commit-queue, glenn, mcatanzaro, ossy, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 143135    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
WIP
none
WIP2
none
Patch
none
Rebasing
none
Patch for landing none

Description youenn fablet 2015-03-26 04:35:15 PDT
As part of enabling limited EWS bots to check new tests, webkit-patch should have the ability to run new tests and report results.
This could be done by adding an option to webkit-patch build-and-test to iterate a number of times on new tests and make a report in case of failures.
Comment 1 youenn fablet 2015-03-26 04:40:34 PDT
Created attachment 249485 [details]
Patch
Comment 2 youenn fablet 2015-03-27 11:00:29 PDT
Created attachment 249585 [details]
WIP
Comment 3 youenn fablet 2015-03-27 11:02:14 PDT
(In reply to comment #2)
> Created attachment 249585 [details]
> WIP

Another try after 143090.
Plan is to add a unit test for the new_or_modified_potential_tests function.
Any feedback appreciated before doing that extra step.
Comment 4 youenn fablet 2015-03-30 11:12:51 PDT
Created attachment 249749 [details]
WIP2
Comment 5 youenn fablet 2015-03-31 02:41:47 PDT
Created attachment 249811 [details]
Patch
Comment 6 youenn fablet 2016-01-07 06:57:43 PST
Created attachment 268450 [details]
Rebasing
Comment 7 youenn fablet 2016-01-07 07:02:20 PST
(In reply to comment #6)
> Created attachment 268450 [details]
> Rebasing

Introduced option (iterate_on_new_tests) may allow gtk/efl/win EWS bots to check new/modified tests at a hopefully small cost.
This option may also be useful in general to check for test flakiness.
Comment 8 Michael Catanzaro 2016-01-07 07:56:09 PST
Comment on attachment 268450 [details]
Rebasing

View in context: https://bugs.webkit.org/attachment.cgi?id=268450&action=review

> Tools/ChangeLog:10
> +        Computationf of new or modified tests is doen by LayoutTestFinder.find_touched_tests

Computationf -> Computation

doen -> done
Comment 9 youenn fablet 2016-01-07 23:35:06 PST
Created attachment 268531 [details]
Patch for landing
Comment 10 youenn fablet 2016-01-07 23:39:23 PST
Thanks for the review.

> > Tools/ChangeLog:10
> > +        Computationf of new or modified tests is doen by LayoutTestFinder.find_touched_tests
> 
> Computationf -> Computation
> 
> doen -> done


Doen... hum done ;)
Comment 11 WebKit Commit Bot 2016-01-08 00:37:05 PST
Comment on attachment 268531 [details]
Patch for landing

Clearing flags on attachment: 268531

Committed r194761: <http://trac.webkit.org/changeset/194761>
Comment 12 WebKit Commit Bot 2016-01-08 00:37:11 PST
All reviewed patches have been landed.  Closing bug.