Bug 157270

Summary: Add fail-fast option to run-javascriptcore-tests
Product: WebKit Reporter: Srinivasan Vijayaraghavan <webkit>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, ggaren, webkit
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 157642    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Srinivasan Vijayaraghavan 2016-05-02 11:04:03 PDT
Add fail-fast option to run-javascriptcore-tests
Comment 1 Srinivasan Vijayaraghavan 2016-05-02 11:06:17 PDT
Created attachment 277912 [details]
Patch
Comment 2 Geoffrey Garen 2016-05-02 11:11:30 PDT
Comment on attachment 277912 [details]
Patch

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

r=me

> Tools/Scripts/run-javascriptcore-tests:211
> +    if ($failFast) {
> +        exit exitStatus($testapiResult) if $testapiResult;

Since we have two conditions here, I think it's clearer to merge them into one if statement:

if ($testapiResult && $failFast) {
    exit...
}
Comment 3 Srinivasan Vijayaraghavan 2016-05-02 11:27:05 PDT
Created attachment 277915 [details]
Patch
Comment 4 Srinivasan Vijayaraghavan 2016-05-02 13:09:50 PDT
(In reply to comment #2)
> Comment on attachment 277912 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=277912&action=review
> 
> r=me
> 
> > Tools/Scripts/run-javascriptcore-tests:211
> > +    if ($failFast) {
> > +        exit exitStatus($testapiResult) if $testapiResult;
> 
> Since we have two conditions here, I think it's clearer to merge them into
> one if statement:
> 
> if ($testapiResult && $failFast) {
>     exit...
> }

Thanks! I've fixed this.
Comment 5 Srinivasan Vijayaraghavan 2016-05-02 13:19:01 PDT
Created attachment 277928 [details]
Patch
Comment 6 Ryan Haddad 2016-05-02 13:51:02 PDT
Comment on attachment 277928 [details]
Patch

mac-debug failures seem to be unrelated, marking cq+
Comment 7 WebKit Commit Bot 2016-05-02 14:41:33 PDT
Comment on attachment 277928 [details]
Patch

Clearing flags on attachment: 277928

Committed r200339: <http://trac.webkit.org/changeset/200339>
Comment 8 WebKit Commit Bot 2016-05-02 14:41:37 PDT
All reviewed patches have been landed.  Closing bug.