Bug 1426586 - Add android hardware test platforms for android-hw, r=gbrown,jmaher
authorBob Clary <bclary@bclary.com>
Fri, 22 Jun 2018 16:39:32 -0700
changeset 809878 176d8c0698f3488c6033dc1076dc4e3f80c3a4c1
parent 809877 8ddc31e62cce95304bbb77ad6e48239e56fc3286
child 809879 4789a350ec7ff9ed4d6f300bcecdde771f54cc77
push id113833
push userbmo:ato@sny.no
push dateSat, 23 Jun 2018 12:17:51 +0000
reviewersgbrown, jmaher
bugs1426586
milestone62.0a1
Bug 1426586 - Add android hardware test platforms for android-hw, r=gbrown,jmaher
taskcluster/ci/test/compiled.yml
taskcluster/ci/test/mochitest.yml
--- a/taskcluster/ci/test/compiled.yml
+++ b/taskcluster/ci/test/compiled.yml
@@ -1,20 +1,23 @@
 job-defaults:
     e10s: false
     mozharness:
         script:
             by-test-platform:
                 android-em.*: android_emulator_unittest.py
+                android-hw.*: android_hardware_unittest.py
                 default: desktop_unittest.py
         config:
             by-test-platform:
                 android-em.*:
                     - android/android_common.py
                     - android/androidarm_4_3.py
+                android-hw.*:
+                    - android/android_hw.py
                 linux.*:
                     - unittests/linux_unittest.py
                     - remove_executables.py
                 macosx.*:
                     - unittests/mac_unittest.py
                 windows.*:
                     - unittests/win_taskcluster_unittest.py
 
@@ -57,20 +60,24 @@ jittest:
             default: default
     run-on-projects: built-projects
     chunks:
         by-test-platform:
             windows.*: 1
             windows10-64-ccov/debug: 6
             macosx.*: 1
             android-em-4.3-arm7-api-15/debug: 20
-            android-em.*: 10
+            android.*: 10
             default: 6
     max-run-time:
         by-test-platform:
             windows10-64-ccov/debug: 7200
             default: 3600
     mozharness:
         chunked:
             by-test-platform:
                 windows.*: false
                 macosx.*: false
                 default: true
+    tier:
+        by-test-platform:
+            android-hw.*: 3
+            default: default
--- a/taskcluster/ci/test/mochitest.yml
+++ b/taskcluster/ci/test/mochitest.yml
@@ -2,28 +2,31 @@ job-defaults:
     target:
         by-test-platform:
             android-em-7.0-x86/opt: geckoview-androidTest.apk
             default: null
     mozharness:
         script:
             by-test-platform:
                 android-em.*: android_emulator_unittest.py
+                android-hw.*: android_hardware_unittest.py
                 default: desktop_unittest.py
         config:
             by-test-platform:
                 android-em-4.2-x86/opt:
                     - android/android_common.py
                     - android/androidx86.py
                 android-em-7.0-x86/opt:
                     - android/android_common.py
                     - android/androidx86_7_0.py
                 android-em.*:
                     - android/android_common.py
                     - android/androidarm_4_3.py
+                android-hw.*:
+                    - android/android_hw.py
                 linux.*:
                     - unittests/linux_unittest.py
                     - remove_executables.py
                 macosx.*:
                     - unittests/mac_unittest.py
                 windows.*:
                     - unittests/win_taskcluster_unittest.py
 
@@ -289,22 +292,23 @@ mochitest-media:
             android-em-7.0-x86/opt: 1
             macosx64.*: 1
             windows10-64.*: 1
             default: 3
     mozharness:
         mochitest-flavor: plain
         chunked:
             by-test-platform:
-                android-em.*: false
+                android.*: false
                 macosx64.*: false
                 windows10-64.*: false
                 default: true
     tier:
         by-test-platform:
+            android-hw.*: 3
             linux64-qr/.*: 1
             default: default
 
 mochitest-plain-headless:
     description: "Mochitest plain headless run"
     suite: mochitest/plain-chunked
     treeherder-symbol: M(h)
     loopback-video: true
@@ -345,18 +349,18 @@ mochitest-webgl:
     treeherder-symbol: M(gl)
     run-on-projects:
         by-test-platform:
             windows10-64-ccov/.*: []  # Do not run on Windows ccov, see bug 1419475.
             default: built-projects
     virtualization: virtual-with-gpu
     chunks:
         by-test-platform:
+            android-em-7.0-x86/opt: 1
             android-em.*: 10
-            android-em-7.0-x86/opt: 1
             windows.*: 8
             default: 3
     e10s:
         by-test-platform:
             linux32/debug: both
             default: true
     loopback-video: true
     max-run-time: