gecko-dev/taskcluster/ci/test/xpcshell.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

98 строки
3.3 KiB
YAML
Исходник Обычный вид История

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
Bug 1523303 - [taskgraph] Define suite "categories" rather than flavours task configs, r=gbrown Currently we have the concept of a "suite" and a "flavour" in our task configuration. Typically, the "suite" refers to the high-level test harness like "mochitest" or "reftest", whereas the flavour is more specific, e.g "browser-chrome-instrumentation" or "crashtest". However the line between suite and flavour is not applied with any semblance of consistency which results in inconsistent naming throughout the tree. This patch gets rid of the concept of "flavours" entirely (at least when it comes to task configuration). A suite is a type of test run, for example: - mochitest-plain - mochitest-devtools-chrome - mochitest-browser-chrome-instrumentation - jsreftest - reftest - firefox-ui-functional-remote etc There is no confusion here between suites and flavours because flavours don't exist. However, there are a couple of places where we *do* need to know what "test harness" is used to run a suite. These cases are: 1. For SCHEDULES moz.build rules 2. For the desktop_unittest.py mozharness script which takes arguments like --mochitest-suite=browser (this is not a compelling use of this information and should be refactored to work more like the android_emulator_unittest.py script) So to get this information, this patch introduces a new concept of a "category" which is the overall "test harness" that runs the suite. For many suites, the "category" is identical to the suite name. Unlike flavours, "categories" have no bearing on how we call or refer to the suite. Differential Revision: https://phabricator.services.mozilla.com/D27554 --HG-- extra : moz-landing-system : lando
2019-04-22 23:44:01 +03:00
suite: xpcshell
variants:
by-test-platform:
linux1804-64/debug: ['fission', 'socketprocess_networking']
default: ['fission']
target:
by-test-platform:
android-em-7.*: geckoview-androidTest.apk
default: null
fission-tier: 2
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
requires-signed-builds:
by-test-platform:
windows10-64-asan/opt: false # No XPCShell on ASAN yet
windows7-32-mingwclang/opt: false
windows7-32-mingwclang/debug: false
windows10-64-mingwclang/opt: false
windows10-64-mingwclang/debug: false
windows.*: true
default: false
xpcshell:
description: "xpcshell test run"
treeherder-symbol: X(X)
run-on-projects:
by-test-platform:
windows10-64-asan/opt: [] # No XPCShell on ASAN yet
default: built-projects
chunks:
by-test-platform:
.*-ccov/.*: 6
android-em-7.*: 4
macosx.*(?!-ccov)...../.*: 2
linux1804-64(-qr)?/debug: 6
.*-tsan/opt: 8
windows(7-32|10-64)(-shippable|-devedition|-asan|.*-qr)?/.*: 2
default: 5
max-run-time:
by-test-platform:
macosx.*(?!-ccov)...../.*: 5400
windows(7-32|10-64)(-shippable)?/opt: 5400
.*-ccov/.*: 7200
.*-tsan/opt: 7200
android-em-7.*: 5400
default: 2700
allow-software-gl-layers: false
tier:
by-test-platform:
windows10-64-asan.*: 3
default: default
fetches:
toolchain:
by-test-platform:
linux.*:
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
macosx.*:
- macosx64-node
- macosx64-minidump-stackwalk
- macosx64-fix-stacks
win.*aarch64.*:
- win32-node
- win32-minidump-stackwalk
win.*-64.*:
- win64-node
- win32-minidump-stackwalk
- win32-fix-stacks
win.*32.*:
- win32-node
- win32-minidump-stackwalk
- win32-fix-stacks
android-em-7.*:
- android-emulator-linux
- linux64-node
- linux64-minidump-stackwalk