moz.build (1895B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 PYTHON_UNITTEST_MANIFESTS += [ 8 "manifestparser/tests/manifest.toml", 9 "mozcrash/tests/manifest.toml", 10 "mozdebug/tests/manifest.toml", 11 "mozdevice/tests/manifest.toml", 12 "mozfile/tests/manifest.toml", 13 "mozgeckoprofiler/tests/manifest.toml", 14 "mozhttpd/tests/manifest.toml", 15 "mozinfo/tests/manifest.toml", 16 "mozinstall/tests/manifest.toml", 17 "mozleak/tests/manifest.toml", 18 "mozlog/tests/manifest.toml", 19 "moznetwork/tests/manifest.toml", 20 "mozpower/tests/manifest.toml", 21 "mozprocess/tests/manifest.toml", 22 "mozprofile/tests/manifest.toml", 23 "mozproxy/tests/manifest.toml", 24 "mozrunner/tests/manifest.toml", 25 "mozshellutil/tests/manifest.toml", 26 "mozsystemmonitor/tests/manifest.toml", 27 "moztest/tests/manifest.toml", 28 "mozversion/tests/manifest.toml", 29 ] 30 31 python_modules = [ 32 "manifestparser", 33 "mozcrash", 34 "mozdebug", 35 "mozdevice", 36 "mozfile", 37 "mozgeckoprofiler", 38 "mozhttpd", 39 "mozinfo", 40 "mozinstall", 41 "mozleak", 42 "mozlog", 43 "moznetwork", 44 "mozpower", 45 "mozprocess", 46 "mozprofile", 47 "mozproxy", 48 "mozrunner", 49 "mozscreenshot", 50 "mozserve", 51 "mozshellutil", 52 "mozsystemmonitor", 53 "moztest", 54 "mozversion", 55 ] 56 57 TEST_HARNESS_FILES.mozbase += [m + "/**" for m in python_modules] 58 59 TEST_HARNESS_FILES.mozbase += [ 60 "setup_development.py", 61 ] 62 63 SPHINX_TREES["/mozbase"] = "docs" 64 65 with Files("docs/**"): 66 SCHEDULES.exclusive = ["docs"] 67 68 with Files("**"): 69 BUG_COMPONENT = ("Testing", "Mozbase") 70 71 with Files("rust/**"): 72 BUG_COMPONENT = ("Testing", "Mozbase Rust")