Closed Bug 620880 Opened 14 years ago Closed 14 years ago

make jit tests use browser-configuration by default

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: paul.biggar, Assigned: paul.biggar)

Details

(Whiteboard: [fixed-in-tracemonkey])

Attachments

(1 file)

The jit-tests currently run with --jitargs of 'j' by default. They should run the same thing we run in the browser, which I think is 'jmp'?

It would also be useful to add a mode to repeatedly test with each of '-j', '-m', etc, which I don't think we can do now.
Assignee: general → pbiggar
It's called --jitflags and you can specify multiple modes, eg. --jitflags=j,mj.

'jmp' would be a decent default, 'j,m' would be even better, though twice as slow.
I think bz came up with a good set a while ago. I usually run with --jitflags=m,j,mj,mjp,mjd (d is debug mode). Given how fast these run, I see no reason to be conservative.
One option is to change the default to something fast running for us, like 'jmp', and change the 'make check' rule (which is run on tinderbox) to something more exhaustive, like m,j,mj,mjp,mjd.
This adds billm's long flags for make check, which is run by tinderbox (under the 'B' component). For humans, it sets the default to -mjp, which is more what we want to test than -j
Attachment #499677 - Flags: review?(dmandelin)
Comment on attachment 499677 [details] [diff] [review]
Add long flags for |make check| and just -mjp by default

It'd be nice to send an email to the internals list announcing this (or other changes in behavior of the test harness).
Attachment #499677 - Flags: review?(dmandelin) → review+
http://hg.mozilla.org/tracemonkey/rev/95b952a9d46f

I updated the help message too, I figured that didn't need review.

Sending mail now.
Whiteboard: [fixed-in-tracemonkey]
http://hg.mozilla.org/mozilla-central/rev/95b952a9d46f
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: