Closed Bug 361282 Opened 18 years ago Closed 18 years ago

finish test harness to run compliance tests in tamarin/js/test

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dschaffe, Assigned: dschaffe)

Details

Attachments

(2 files)

add a perl script $MOZ_SRC/js/tamarin/test/runtests.pl to run the compliance
we still have to upload the .abc files for the compiled test media since we do not have a working compiler.  tests should show 100% passing.

will add notes to wiki, basic usage:
export AVM=<to avmplus executable e.g. on Windows>
$ export AVM=$MOZ_SRC/js/tamarin/platform/win32/obj_8/shell/Release/avmplus.exe
$ cd $MOZ_SRC/js/tamarin/test
$ perl ./runtests
(takes 3 minutes when using ActiveState perl and Release avmplus.exe, can take 30 minutes when using Debug avmplus.exe)
...
Test time: 3 minutes 49 seconds
passes  : 54749
failures: 0
Attached patch patch for 361282Splinter Review
Erik,  can you try this when you get a chance. I put some setup notes on http://flashplatform.macromedia.com/wiki/Tamarin_Builds#How_do_I_run_the_compliance_tests.3F
Assignee: nobody → dschaffe
Status: NEW → ASSIGNED
Attachment #246024 - Flags: review?
Comment on attachment 246024 [details] [diff] [review]
patch for 361282

Erik, can you try when you get a chance?  I added some notes http://flashplatform.macromedia.com/wiki/Tamarin_Builds#How_do_I_run_the_compliance_tests.3F
Attachment #246024 - Flags: review? → review?(tierney)
Attachment #246024 - Flags: review?(tierney) → review+
missed 2 test files they should, be removed
Attachment #246030 - Flags: review?(tierney)
Attachment #246030 - Flags: review?(tierney) → review+
committed to cvs 2006-11-20 09:02
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Dan, we should probably put these notes in the public wiki at http://developer.mozilla.org/en/docs/Tamarin_Build_Documentation ... the link you posted will only work for the Tamarin contributors who happen to be Adobe employees, as it's behind the firewall :-)
I updated the tamarin wiki on http://developer.mozilla.org/en/docs/Tamarin_Build_Documentation with notes on running the test suite.  I have been waiting for access to upload tamarin-test-abcs.tar.gz to ftp.mozilla.org under a tamarin directory.  anyone?   Users can untar the file in the js/tamarin/test directory then run the test suite.  This restriction will be lifted when we have a working compiler.
Transfer Bug from Core->Tamarin to Tamarin Product.
Component: Tamarin → Virtual Machine
Product: Core → Tamarin
Version: Trunk → unspecified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: