# 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/.

with Files("**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("*cppunittest*"):
    BUG_COMPONENT = ("Testing", "CPPUnitTest")
    SCHEDULES.exclusive = ["cppunittest"]

with Files("remote*"):
    BUG_COMPONENT = ("GeckoView", "General")

PYTHON_UNITTEST_MANIFESTS += [
    "test/python.toml",
]

if not CONFIG["JS_STANDALONE"]:
    PYTHON_UNITTEST_MANIFESTS += [
        "android-test/tests/python.toml",
    ]

SPHINX_TREES["/testing"] = "docs"

DIRS += ["manifest", "mozbase", "mozharness"]

PERFTESTS_MANIFESTS += [
    "performance/perftest.toml",
]
