Bug 77672

Summary: Incorrect statistics shown when running run-webkit-tests with --repeat-each or --iterations
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: Tools / TestsAssignee: Sergio Villar Senin <svillar>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dpranke, eric, ojan, svillar, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Sergio Villar Senin
Reported 2012-02-02 12:53:21 PST
Both --repeat-each and --iterations are not taken into account when showing progress and summary information in run-webkit-tests. For example this is what we get if we execute: run-webkit-tests --iterations 10 sometest Testing (100%): 1 run as expected, 0 didn't, 0 left [...] Testing (700%): 7 run as expected, 0 didn't, -6 left [...] 10 tests ran as expected (-9 didn't run).
Attachments
Patch (2.97 KB, patch)
2012-02-02 12:57 PST, Sergio Villar Senin
no flags
Patch (7.07 KB, patch)
2012-02-03 04:46 PST, Sergio Villar Senin
no flags
Sergio Villar Senin
Comment 1 2012-02-02 12:57:44 PST
Adam Barth
Comment 2 2012-02-02 13:13:15 PST
Comment on attachment 125169 [details] Patch Looks reasonable. How do we test this change?
Sergio Villar Senin
Comment 3 2012-02-03 04:46:00 PST
Sergio Villar Senin
Comment 4 2012-02-06 01:07:31 PST
Comment on attachment 125308 [details] Patch Clearing flags on attachment: 125308 Committed r106784: <http://trac.webkit.org/changeset/106784>
Sergio Villar Senin
Comment 5 2012-02-06 01:07:38 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.