Bug 178608 - Cleanup unnecessary code to run JavaScriptCore tests
Summary: Cleanup unnecessary code to run JavaScriptCore tests
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-20 16:31 PDT by Aakash Jain
Modified: 2017-11-17 12:16 PST (History)
6 users (show)

See Also:


Attachments
Proposed patch (6.38 KB, patch)
2017-10-20 16:36 PDT, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2017-10-20 16:31:39 PDT
We now have a separate JavaScriptCore test EWS which run JavaScriptCore tests on every patch (as appropriate).

There seems to be unnecessary code in runtests.py to run JavaScriptCore tests which is enabled only when --non-interactive mode is not passed. All of the EWSes seems to pass --non-interactive (in patchanalysistask.py base class _test() method). So this seems unnecessary code.
Comment 1 Aakash Jain 2017-10-20 16:36:22 PDT
Created attachment 324465 [details]
Proposed patch
Comment 2 Daniel Bates 2017-10-20 20:21:58 PDT
(In reply to Aakash Jain from comment #0)
> We now have a separate JavaScriptCore test EWS which run JavaScriptCore
> tests on every patch (as appropriate).
> 
> There seems to be unnecessary code in runtests.py to run JavaScriptCore
> tests which is enabled only when --non-interactive mode is not passed.

This is incorrect. We run these test when running webkit-patch interactively by <https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/steps/runtests.py?rev=223796#L94> 

> All of the EWSes seems to pass --non-interactive (in patchanalysistask.py base
> class _test() method). So this seems unnecessary code.
Comment 3 Daniel Bates 2017-10-20 20:23:23 PDT
Comment on attachment 324465 [details]
Proposed patch

This will make "webkit-patch build-and-test" and "webkit-patch build-and-test-attachment " no longer run the JavaScriptCore tests.
Comment 4 Alexey Proskuryakov 2017-10-22 13:11:13 PDT
Who uses webkit-patch like this? This particular tiny test suite is not very valuable to run for each and every patch locally, and thus I find it unlikely that anyone manually uses the command that forces it.
Comment 5 Aakash Jain 2017-11-17 12:15:38 PST
This portion of code does not affect EWS since EWS pass the option --non-interactive. We can keep this code as it would be executed when someone manually executes "webkit-patch build-and-test".