Bug 1458020 - 6. Use separate emulator config for geckoview-junit tests; r=gbrown

The geckoview-junit tests require the OSS audio backend for the Android
4.3 ARM emulator, but mochitests don't work well with the OSS audio
backend. Therefore, use a different config file for the geckoview-junit
tests.

MozReview-Commit-ID: 20tzjtVdTuB
This commit is contained in:
Jim Chen 2018-05-18 10:16:05 -04:00
parent c68f5f3de7
commit 828b2d9eef
2 changed files with 34 additions and 1 deletions

View File

@ -47,7 +47,7 @@ geckoview-junit:
- android/androidx86_7_0.py
android.*:
- android/android_common.py
- android/androidarm_4_3.py
- android/androidarm_4_3_junit.py
extra-options:
- --test-suite=geckoview-junit

View File

@ -0,0 +1,33 @@
# mozharness configuration for Android 4.3 geckoview-junit tests
#
# This configuration should be combined with suite definitions and other
# mozharness configuration from android_common.py, or similar.
config = {
"deprecated_sdk_path": True,
"tooltool_manifest_path": "testing/config/tooltool-manifests/androidarm_4_3/releng.manifest",
"emulator_manifest": """
[
{
"size": 38451805,
"digest": "ac3000aa6846dd1b09a420a1ba84727e393036f49da1419d6c9e5ec2490fc6105c74ca18b616c465dbe693992e2939afd88bc2042d961a9050a3cafd2a673ff4",
"algorithm": "sha512",
"filename": "android-sdk_r24.0.2a-linux.tar.gz",
"unpack": "True"
}
] """,
"emulator_process_name": "emulator64-arm",
"emulator_extra_args": "-show-kernel -debug init,console,gles,memcheck,adbserver,adbclient,adb,avd_config,socket -audio oss",
"exes": {
'adb': '%(abs_work_dir)s/android-sdk-linux/platform-tools/adb',
},
"env": {
"DISPLAY": ":0.0",
"PATH": "%(PATH)s:%(abs_work_dir)s/android-sdk-linux/tools:%(abs_work_dir)s/android-sdk-linux/platform-tools",
"MINIDUMP_SAVEPATH": "%(abs_work_dir)s/../minidumps"
},
"emulator": {
"name": "test-1",
"device_id": "emulator-5554",
},
}