Bug 127093 - Change default setting of run-javascriptcore-tests not to build JSC by default
Summary: Change default setting of run-javascriptcore-tests not to build JSC by default
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 02:58 PST by Peter Molnar
Modified: 2014-01-21 06:26 PST (History)
8 users (show)

See Also:


Attachments
patch (947 bytes, patch)
2014-01-16 02:59 PST, Peter Molnar
fpizlo: review-
fpizlo: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Molnar 2014-01-16 02:58:45 PST
This script is ran most of the time on buildbots, in these cases there's no need to build JSC, as it is built right before running this script.
When running these tests manually on a device (like dev boards where we only run tests, and we build with cross-compile), it's quite an annoyance to specify the --no-build option every time we do that.

It may be wise to change this behavior, to make the script build JSC only if the --build option is specified explicitly. This will cover those few cases when we want to run the build from this script.
Comment 1 Peter Molnar 2014-01-16 02:59:42 PST
Created attachment 221353 [details]
patch
Comment 2 Lucas Forschler 2014-01-16 11:29:11 PST
The Apple webkit testers pass the --no-build flag to the script already.  So, I think this will not cause any problems.
Comment 3 Geoffrey Garen 2014-01-16 11:35:25 PST
Phil, will this affect your JSC bots?
Comment 4 Filip Pizlo 2014-01-16 12:36:45 PST
(In reply to comment #0)
> This script is ran most of the time on buildbots, in these cases there's no need to build JSC, as it is built right before running this script.
> When running these tests manually on a device (like dev boards where we only run tests, and we build with cross-compile), it's quite an annoyance to specify the --no-build option every time we do that.
> 
> It may be wise to change this behavior, to make the script build JSC only if the --build option is specified explicitly. This will cover those few cases when we want to run the build from this script.

For me, I always use run-javascriptcore-tests to build JSC and I never use build-jsc directly.  This change would be a huge annoyance for me.

I can also see this leading to problems if someone reruns tests after making changes but forgets to pass --build.  I don't like that prospect.

Since this appears to be an annoyance to one person no matter what the default is, I think the wisest thing to do is to not change anything.