let marionette test framework reuse existing emulator for emulator tests

RESOLVED FIXED in mozilla17

Status

defect
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: mdas, Unassigned)

Tracking

Trunk
mozilla17
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

There isn't a way for marionette to use an already running emulator for the tests that require qemu control (for example, the battery tests). Instead, marionette boots up its own emulator and uses that. It would be a "nice to have" to get an already running emulator working with the test runner.
So, if you have an emulator already running, and want to run Marionette tests using that, you can use:

python runtests.py --emulator arm --address localhost:2828 --homedir .....

That is, specifying both "emulator" and "address" allows you to do this.  This is granted not at all intuitive, we should add a more explicit option for this.
Verified (with latest emulator-arm_linux) that as Jonathan noted above, specifying both the 'emulator' and 'address' options does allow the WebAPI test to run in a pre-running emulator.
Added some additional information to the --emulator help message so that users know how to use it
Attachment #648008 - Flags: review?(jgriffin)
Comment on attachment 648008 [details] [diff] [review]
Update documentation

Thanks!
Attachment #648008 - Flags: review?(jgriffin) → review+
https://hg.mozilla.org/mozilla-central/rev/2f36e642ef8d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.