DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (b6d82b1a6b02)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
# 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:
    e10s: false
    mozharness:
        script:
            by-test-platform:
                android-em.*: android_emulator_unittest.py
                android-hw.*: android_hardware_unittest.py
                default: desktop_unittest.py
        config:
            by-test-platform:
                android-em-4.*:
                    - android/android_common.py
                    - android/androidarm_4_3.py
                android-em-7.*:
                    - android/android_common.py
                    - android/androidx86_7_0.py
                android-hw.*:
                    - android/android_common.py
                    - android/android_hw.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                macosx.*:
                    - unittests/mac_unittest.py
                windows.*:
                    - unittests/win_unittest.py

cppunit:
    description: "CPP Unit Tests"
    suite: cppunittest
    treeherder-symbol: cppunit
    instance-size:
        by-test-platform:
            android-em.*: xlarge
            default: default
    tier:
        by-test-platform:
            windows10-aarch64.*: 2
            default: default
    run-on-projects:
        by-test-platform:
            android-em-4.3-arm7-api-16/opt: []  # bug 1548659
            default: built-projects

gtest:
    description: "GTests run"
    suite: gtest
    treeherder-symbol: GTest
    instance-size: xlarge
    run-on-projects:
        by-test-platform:
            windows.*-shippable/.*: []  # permafails on shippable
            windows.*-pgo/.*: []  # permafails on pgo too
            windows.*-nightly/.*: []  # permafails on nightly too
            windows10-64-asan/opt: []  # permafails on asan too
            windows10-aarch64/opt: []  # gtests don't build on Windows PGO
            .*-devedition/.*: []  # don't run on devedition
            default: built-projects
    target:
        by-test-platform:
            android-em-7.*: geckoview-androidTest.apk
            default: null
    tier:
        by-test-platform:
            windows7-32-shippable.*: 3
            windows7-32-pgo.*: 3
            windows10-64-shippable.*: 3
            windows10-64-pgo.*: 3
            windows10-64-asan.*: 3
            windows10-aarch64.*: 2
            default: default

jittest:
    description: "JIT Test run"
    suite:
        category: jittest
        name: jittest-chunked
    treeherder-symbol: Jit
    instance-size:
        by-test-platform:
            android-em.*: xlarge
            default: default
    run-on-projects:
        by-test-platform:
            # Turn off for all linux and windows platforms, since it is
            # redundant with SM(...) jobs -- except for code coverage builds,
            # which are still needed since ccov doesn't yet work with
            # spidermonkey jobs.
            #
            # The regex is essentially /linux.*/ but with a negative match for
            # the last 5 characters being "-ccov". The terminal ..... is needed
            # because otherwise the .* could match the full string and the
            # empty string would fail to match /(?!-ccov)/ so the whole thing
            # would succeed. The beginning /?=linux/ is needed because the
            # platform "linux64" doesn't have enough characters for both the
            # beginning /linux/ and the final /...../.
            #
            # Additionally, platforms contain suffixes like "/opt" or "/debug".
            (?=linux).*(?!-ccov)...../.*: []  # redundant with SM(...)
            (?=windows).*(?!-ccov)...../.*: []  # redundant with SM(p)
            android-hw-.*-aarch64/.*: []  # redundant with SM(p)
            android-hw-.*-api-16/debug: ['try', 'mozilla-central']
            default: built-projects
    chunks:
        by-test-platform:
            windows.*: 1
            windows10-64-ccov/debug: 6
            macosx.*/opt: 1
            macosx.*/debug: 3
            android-em-4.3-arm7-api-15/debug: 20
            android.*: 10
            default: 6
    max-run-time:
        by-test-platform:
            windows10-64-ccov/debug: 7200
            macosx.*-ccov/debug: 7200
            default: 3600
    mozharness:
        chunked:
            by-test-platform:
                windows.*: false
                macosx.*: false
                default: true
    tier:
        by-test-platform:
            android-hw.*: 2
            windows10-aarch64.*: 2
            default: default