Bug 145233

Summary: Add option to run_jsc_stress_tests to disable JIT testing
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Updated patch that always runs runAlwaysTriggerCopyPhase mark.lam: review+

Description Michael Saboff 2015-05-20 17:45:21 PDT
Currently when testing a build that is compiled without the JIT using run_jsc_stress_tests, it creates test variants for the baseline, DFG and FTL for platforms with the FTL.  This is unnecessary and give false failures.

We should add an option to test interpreter only configurations.
Comment 1 Michael Saboff 2015-05-20 17:47:32 PDT
Created attachment 253479 [details]
Patch
Comment 2 Mark Lam 2015-05-20 17:56:27 PDT
Comment on attachment 253479 [details]
Patch

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

> Tools/Scripts/run-jsc-stress-tests:787
> +        runAlwaysTriggerCopyPhase

Shouldn’t runAlwaysTriggerCopyPhase be run in the no JIT configuration?

> Tools/Scripts/run-jsc-stress-tests:987
> +    if $jitTests
> +        runMozillaTestLLInt(mode, *extraFiles)

Shouldn’t we be running the “runMozillaTestLLInt” version?
Comment 3 Michael Saboff 2015-05-20 17:59:29 PDT
(In reply to comment #2)
> Comment on attachment 253479 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=253479&action=review
> 
> > Tools/Scripts/run-jsc-stress-tests:787
> > +        runAlwaysTriggerCopyPhase
> 
> Shouldn’t runAlwaysTriggerCopyPhase be run in the no JIT configuration?

The "no JIT" will effectively run the same test that ran in the "default" case.

> > Tools/Scripts/run-jsc-stress-tests:987
> > +    if $jitTests
> > +        runMozillaTestLLInt(mode, *extraFiles)
> 
> Shouldn’t we be running the “runMozillaTestLLInt” version?

Ditto.
Comment 4 Michael Saboff 2015-05-20 18:03:56 PDT
Created attachment 253481 [details]
Updated patch that always runs runAlwaysTriggerCopyPhase
Comment 5 Mark Lam 2015-05-20 18:08:03 PDT
Comment on attachment 253481 [details]
Updated patch that always runs runAlwaysTriggerCopyPhase

r=me
Comment 6 Michael Saboff 2015-05-20 18:14:22 PDT
Committed r184683: <http://trac.webkit.org/changeset/184683>