Bug 1332727 - Run mochitest-browser-screenshots on taskcluster (by default on linux64/opt). r=jmaher draft
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Sun, 22 Jan 2017 12:24:45 -0800
changeset 464781 7e7c61e23bd983f4e75460b5cd36ea9fec67547f
parent 464761 80d47de5e1bf04fd59ba08df1e438ee4640e04d1
child 542990 bda3f4b3ff7f4d1d14c228dfcbb15f065766bc82
push id42430
push usermozilla@noorenberghe.ca
push dateSun, 22 Jan 2017 20:25:39 +0000
reviewersjmaher
bugs1332727
milestone53.0a1
Bug 1332727 - Run mochitest-browser-screenshots on taskcluster (by default on linux64/opt). r=jmaher MozReview-Commit-ID: A9DDxclgNjm
taskcluster/ci/test/test-platforms.yml
taskcluster/ci/test/test-sets.yml
taskcluster/ci/test/tests.yml
--- a/taskcluster/ci/test/test-platforms.yml
+++ b/taskcluster/ci/test/test-platforms.yml
@@ -33,16 +33,17 @@ linux64/debug:
         - web-platform-tests
 linux64/opt:
     build-platform: linux64/opt
     test-sets:
         - common-tests
         - external-media-tests
         - web-platform-tests
         - opt-only-tests
+        - desktop-screenshot-capture
         - talos
 
 # TODO: use 'pgo' and 'asan' labels here, instead of -pgo/opt
 linux64-pgo/opt:
     build-platform: linux64-pgo/opt
     test-sets:
         - common-tests
         - external-media-tests
--- a/taskcluster/ci/test/test-sets.yml
+++ b/taskcluster/ci/test/test-sets.yml
@@ -175,16 +175,19 @@ linux32-tests:
     - web-platform-tests
     - web-platform-tests-reftests
     - xpcshell
 
 linux32-opt-tests:
     # mochitest-dt is too slow on linux32/debug
     - mochitest-devtools-chrome
 
+desktop-screenshot-capture:
+    - mochitest-browser-screenshots
+
 android-common-tests:
     - cppunit
     - crashtest
     - jsreftest
     - mochitest
     - mochitest-chrome
     - mochitest-clipboard
     - mochitest-gpu
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -428,16 +428,45 @@ mochitest-browser-chrome:
     # Bug 1281241: migrating to m3.large instances
     instance-size:
         by-test-platform:
             linux64-jsdcov/opt: xlarge
             linux64-ccov/opt: xlarge
             default: legacy
     allow-software-gl-layers: false
 
+mochitest-browser-screenshots:
+    description: "Mochitest Browser Screenshots"
+    suite: mochitest/browser-chrome-screenshots
+    treeherder-symbol: tc-M(ss)
+    loopback-video: true
+    run-on-projects:
+        by-test-platform:
+            linux64/opt: ['mozilla-central', 'try']
+            default: []
+    e10s: true
+    max-run-time: 3600
+    mozharness:
+        script: desktop_unittest.py
+        no-read-buildbot-config: true
+        config:
+            by-test-platform:
+                windows.*:
+                    - unittests/win_taskcluster_unittest.py
+                macosx.*:
+                    - remove_executables.py
+                    - unittests/mac_unittest.py
+                linux.*:
+                    - unittests/linux_unittest.py
+                    - remove_executables.py
+        extra-options:
+            - --mochitest-suite=browser-chrome-screenshots
+    instance-size: legacy
+    allow-software-gl-layers: false
+
 mochitest-chrome:
     description: "Mochitest chrome run"
     suite: mochitest/chrome
     treeherder-symbol: tc-M(c)
     loopback-video: true
     instance-size:
         by-test-platform:
             android.*: xlarge