Bug 1301212 - Enabled code coverage for xpcshell. r=gmierz2+560562,jmaher
☠☠ backed out by 5612fd602e57 ☠ ☠
authorCody Tran <cody_tran95@hotmail.com>
Mon, 24 Oct 2016 22:26:19 -0400
changeset 319953 23e68db8afd7d33527306dfff7819332c1d1297f
parent 319952 e36c5db0191eba666619c5ae2895ece4d595a00b
child 319954 e148f0d0e15a8f5927a127c5d07160267edfbff5
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgmierz2
bugs1301212, 560562
milestone52.0a1
Bug 1301212 - Enabled code coverage for xpcshell. r=gmierz2+560562,jmaher MozReview-Commit-ID: Gpzklnc1JCQ
taskcluster/ci/desktop-test/test-sets.yml
taskcluster/ci/desktop-test/tests.yml
--- a/taskcluster/ci/desktop-test/test-sets.yml
+++ b/taskcluster/ci/desktop-test/test-sets.yml
@@ -86,11 +86,12 @@ windows-vm-tests:
 # windows-hw-tests:
 #    - mochitest-clipboard
 #    - mochitest-gpu
 #    - mochitest-other
 
 ccov-code-coverage-tests:
     - mochitest-browser-chrome
     - mochitest-devtools-chrome
+    - xpcshell
 
 jsdcov-code-coverage-tests:
     - mochitest-browser-chrome
\ No newline at end of file
--- a/taskcluster/ci/desktop-test/tests.yml
+++ b/taskcluster/ci/desktop-test/tests.yml
@@ -550,16 +550,20 @@ web-platform-tests-wdspec:
                     - remove_executables.py
         extra-options:
             - --test-type=wdspec
 
 xpcshell:
     description: "xpcshell test run"
     suite: xpcshell
     treeherder-symbol: tc-X()
+    run-on-projects:
+        by-test-platform:
+            linux64-ccov/opt: []
+            default: ['all']
     chunks:
         by-test-platform:
             # win.*: 1
             linux64/debug: 10
             default: 8
     max-run-time: 5400
     e10s: false
     mozharness:
@@ -568,12 +572,17 @@ xpcshell:
         config:
             by-test-platform:
                 win.*:
                     - unittests/win_taskcluster_unittest.py
                 default:
                     - unittests/linux_unittest.py
                     - remove_executables.py
         extra-options:
-            - --xpcshell-suite=xpcshell
+            by-test-platform:
+                linux64-ccov/opt:
+                    - --xpcshell-suite=xpcshell
+                    - --code-coverage
+                default:
+                    - -xpcshell-suite=xpcshell
     # Bug 1281241: migrating to m3.large instances
     instance-size: legacy
     allow-software-gl-layers: false