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
Created attachment 378419 [details] [diff] [review] patch 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)
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
Last Resolved: 9 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.