Closed Bug 493776 Opened 15 years ago Closed 15 years ago

add tool for running abc tests in the flash player

Categories

(Tamarin Graveyard :: Tools, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dschaffe, Unassigned)

References

Details

Attachments

(1 file)

create a tool for running abc tests as swfs in the flash player.  tool will capture results from player and send back to stdout so can be used with runtests.py.

requirements:
- input is any abc file, generally acceptance test and performance test files
- all print statements are displayed in the swf in a textfield and returned from the script to stdout
- supports standalone player and all browsers
Flags: flashplayer-triage+
Attached patch patchSplinter Review
the patch contains tools to convert abc to swf and a runner script to invoke the player/browser calling the swf and capturing output to sdout.  The flashrunner.sh script can be set to AVM environment variable and plugged into runtests.py.

test/util/flashrunnner/readme.txt has setup instructions.
Attachment #378419 - Flags: review?(treilly)
Attachment #378419 - Flags: review?(brbaker)
Attachment #378419 - Flags: review?(treilly) → review+
Comment on attachment 378419 [details] [diff] [review]
patch

Should document a couple of more things in the readme:

+ testcases must use print(), trace() is not supported
+ should not use threads with runtests
+ how do people get the playerglobal.abc?
+ before compiling the swf should make sure that PLAYERGLOBALABC is defined
+
Attachment #378419 - Flags: review?(brbaker) → review+
+ make sure to add an entry in .hgignore for test/util/flashrunner/working/
pushed into tr 1945:b2445d9225c7
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed.  Setting status to verified.
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: