As with any other developer capable Mozharness script, all you have to do is:
- Append --cfg developer_config.py
- Append --installer-url and --test-url with appropriate URIs
An example for this is:
python scripts/android_emulator_unittest.py --cfg android/androidarm.py--test-suite mochitest-gl-1 --blob-upload-branch try
--download-symbols ondemand --cfg developer_config.py
--installer-url http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-api-9/en-US/fennec-37.0a1.en-US.android-arm.apk
--test-url http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-api-9/en-US/fennec-37.0a1.en-US.android-arm.tests.zip
Here's the bug where the work happened.
Here's the documentation on how to run Mozharness as a developer.
Please file a bug under Mozharness if you find any issues.
Here are some other related blog posts:
Disclaimers
Bug 1117954- I think that I need a different SDK or emulator version is needed to run Android API 10 jobs.I wish we run all of our jobs in proper isolation!
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
This should be hooked in mach.
ReplyDeleteHrmm. I thought I replied. Take two!
ReplyDeleteSure!
What do we currently do?