Closed Bug 519213 Opened 15 years ago Closed 15 years ago

Enable JavaScript jsreftests on Tracemonkey unittests

Categories

(Release Engineering :: General, defect, P4)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: catlee)

References

Details

Attachments

(2 files, 1 obsolete file)

Please enable the JavaScript jsreftests on Tracemonkey unitest machines.

bug 469718 landed the jsreftests on tracemonkey. These tests operate in a very similar fashion to the layout reftests and the crash tests. 

They are invoked via make as:

make -C $(OBJDIR) jstestbrowser

The actual command being executed is:

python $(OBJDIR)/_tests/reftest/runreftest.py \
       --extra-profile-file=js/src/tests/user.js js/src/tests/jstests.list

The output is identical to that of the reftests and crash tests.

example opt log: http://bclary.com/log/2009/09/10/jstestbrowser-opt.log
example dbg log: http://bclary.com/log/2009/09/10/jstestbrowser-debug.log

The tests are packaged into jsreftest/tests/ along with the other tests via:

make -C $(OBJDIR) package-tests

Once this is merged into mozilla-central, we will want to enable them there as well. Medium term plans are to include this on mozilla-1.9.2. Longer term plans are to possibly include this on mozilla-1.9.1.
expected run times are < 10 minutes for opt and < 20 minutes for debug.
Summary: Enable JavaScript jsreftests on Tracemonkey unitests → Enable JavaScript jsreftests on Tracemonkey unittests
Catlee, these tests should be done exactly the same as reftests are currently done in buildbot.  What do you need to move this forward?  Should we try to write a patch or can you take it from here?

I'm happy to write a patch -- this seems super straight forward but I have no ability to test said patch, so I'm not sure how useful that would be.
This looks like it should be fairly straightforward, but I won't be able to get to it right away.  When do you need this by?  Any plans to have these tests running on trunk as well?
The sooner these tests are running on the tracemonkey tinderbox the better for the js team.  I don't want to push too hard, but as soon as you possibly can would be great.

These tests will eventually get merged from tracemonkey to mozilla-central and we would want the tests running there as well when that happens.

In addition, the tests will eventually land on mozilla-1.9.2 and mozilla-1.9.1.
Assignee: nobody → catlee
Priority: -- → P4
catlee, how does P4 translate into a time frame?
Blocks: 523654
Are these to be run on all 3 build types (optimized, debug, and refcounting-enabled optimized)?
yes please.
actually, never mind, we're not yet running tests on optimized or debug builds on tracemonkey!

If that's something you'd like, please file a new bug against Release Engineering to have it turned on.
Depends on: 524176
Filed Bug 524176.
Attachment #408501 - Flags: review?(nthomas)
Attachment #408502 - Flags: review?(nthomas)
Attachment #408501 - Flags: review?(nthomas) → review+
Attachment #408502 - Attachment is obsolete: true
Attachment #408521 - Flags: review?(nthomas)
Attachment #408502 - Flags: review?(nthomas)
Attachment #408521 - Flags: review?(nthomas) → review+
pm and pm02 reconfig'd to enable jsreftest on
* Linux tracemonkey test everythingelse
* OS X 10.5.2 tracemonkey test everythingelse
* WINNT 5.2 tracemonkey test everythingelse
on the TraceMonkey-Unittest tree.

Leaving open for catlee to close out.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
catlee, I think we are ready to get this running on mozilla-central. Will be possible to enable this for all 3 build types including debug? Do you need a new bug?
(In reply to comment #16)
> catlee, I think we are ready to get this running on mozilla-central. Will be
> possible to enable this for all 3 build types including debug? Do you need a
> new bug?

That'd be great, thanks.
Blocks: 527100
filed Bug 527100
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: