taskcluster/ci/test/tests.yml
author Rob Lemley <rob@thunderbird.net>
Wed, 16 Jun 2021 12:59:25 +0300
changeset 32840 6246fe650c35bdb0372f0271b217f302664ee521
parent 32839 f509af0b5df8fd814d1ccd76cd1210c74b48ba2f
child 32846 b793f919c1e2501eeac5adb771d069125a0e32a8
permissions -rw-r--r--
Bug 1716370 - Port bug 1696531: Run xpcshell tests with Python 3. r=justdave Differential Revision: https://phabricator.services.mozilla.com/D117677

# 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/.
---
# Each stanza here describes a particular test suite or sub-suite.  These are
# processed through the transformations described in kind.yml to produce a
# bunch of tasks.  See the schema in `taskcluster/taskgraph/transforms/tests.py`
# for a description of the fields used here.

# Note that these are in lexical order, as enforced by the task loader.

# Adding a new test type or running tests on a new platform? Be sure to review
# https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy

xpcshell:
    description: "xpcshell test run"
    suite: xpcshell
    treeherder-symbol: X(X)
    run-on-projects: built-projects
    tier:
        by-test-platform:
            macosx1100.*: 2
            default: default
    chunks: 4
    instance-size: default
    max-run-time: 5400
    allow-software-gl-layers: false
    python-3: true
    mozharness:
        script: desktop_unittest.py
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx.*64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
        extra-options:
            - "--xpcshell-suite=xpcshell"
        requires-signed-builds:
            by-test-platform:
                windows10-64-asan/opt: false
                windows.*: true
                default: false
    fetches:
        toolchain:
            by-test-platform:
                linux.*:
                    - linux64-fix-stacks
                    - linux64-node
                    - linux64-minidump-stackwalk
                macosx.*:
                    - macosx64-fix-stacks
                    - macosx64-node
                    - macosx64-minidump-stackwalk
                win.*64.*:
                    - win32-fix-stacks
                    - win64-node
                    - win32-minidump-stackwalk
                win.*32.*:
                    - win32-fix-stacks
                    - win32-node
                    - win32-minidump-stackwalk
                default: []

mochitest-thunderbird:
    description: "Mochitest browser-chrome-thunderbird run"
    suite:
        category: mochitest
        name: mochitest-browser-chrome-thunderbird
    treeherder-symbol: M(bct)
    run-on-projects: built-projects
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    max-run-time: 3600
    tier:
        by-test-platform:
            macosx1100.*: 2
            default: default
    chunks: 5
    e10s: true
    python-3: true
    mozharness:
        script: desktop_unittest.py
        mochitest-flavor: browser
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx.*64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
    instance-size: default
    allow-software-gl-layers: false