Bug 1306490 - Use '-gpu swiftshader' when starting android emulator from mach; r=jmaher
authorGeoff Brown <gbrown@mozilla.com>
Tue, 11 Oct 2016 13:48:37 -0600
changeset 317570 9199fb5b105b9c5d0f6ab1bf94d4294e44b87310
parent 317569 79b6448ad73100b359e644325260b19f29a066ea
child 317571 558c51ec19e92741ca4df83bab25e8565a309c3a
push id30807
push usercbook@mozilla.com
push dateWed, 12 Oct 2016 10:02:00 +0000
treeherdermozilla-central@aa8629a25ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1306490
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1306490 - Use '-gpu swiftshader' when starting android emulator from mach; r=jmaher
testing/mozbase/mozrunner/mozrunner/devices/android_device.py
--- a/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
+++ b/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
@@ -50,29 +50,29 @@ class AvdInfo(object):
 
    There is one entry for each type of AVD used in Mozilla automated tests
    and the parameters for each reflect those used in mozharness.
 """
 AVD_DICT = {
     '4.3': AvdInfo('Android 4.3',
                    'mozemulator-4.3',
                    'testing/config/tooltool-manifests/androidarm_4_3/releng.manifest',
-                   ['-show-kernel', '-debug',
+                   ['-gpu', 'swiftshader', '-show-kernel', '-debug',
                     'init,console,gles,memcheck,adbserver,adbclient,adb,avd_config,socket'],
                    5554),
     '6.0': AvdInfo('Android 6.0',
                    'mozemulator-6.0',
                    'testing/config/tooltool-manifests/androidarm_6_0/releng.manifest',
-                   ['-show-kernel', '-debug',
+                   ['-gpu', 'swiftshader', '-show-kernel', '-debug',
                     'init,console,gles,memcheck,adbserver,adbclient,adb,avd_config,socket'],
                    5554),
     'x86': AvdInfo('Android 4.2 x86',
                    'mozemulator-x86',
                    'testing/config/tooltool-manifests/androidx86/releng.manifest',
-                   ['-debug',
+                   ['-gpu', 'swiftshader', '-debug',
                     'init,console,gles,memcheck,adbserver,adbclient,adb,avd_config,socket',
                     '-qemu', '-m', '1024', '-enable-kvm'],
                    5554)
 }
 
 def verify_android_device(build_obj, install=False, xre=False, debugger=False):
     """
        Determine if any Android device is connected via adb.