Bug 1301212 - Enabled code coverage for xpcshell.
MozReview-Commit-ID: IdijsF9HRW9
--- 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