2017-05-23 16:55:54 +03:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
RUST_PROGRAMS += ["geckodriver"]
|
2018-07-16 20:52:14 +03:00
|
|
|
# Some Rust build scripts compile C/C++ sources, don't error on warnings for them.
|
|
|
|
AllowCompilerWarnings()
|
2017-05-23 16:55:54 +03:00
|
|
|
|
2018-10-15 17:30:30 +03:00
|
|
|
RUST_TESTS = [
|
|
|
|
"geckodriver",
|
|
|
|
"webdriver",
|
2018-07-03 20:26:41 +03:00
|
|
|
|
2018-10-15 17:30:30 +03:00
|
|
|
# TODO: Move to mozbase/rust/moz.build once those crates can be
|
|
|
|
# tested separately.
|
|
|
|
"mozprofile",
|
|
|
|
"mozrunner",
|
|
|
|
"mozversion",
|
2018-07-03 20:26:41 +03:00
|
|
|
]
|
2017-12-09 00:28:27 +03:00
|
|
|
|
2017-05-23 16:55:54 +03:00
|
|
|
with Files("**"):
|
2018-06-22 14:32:05 +03:00
|
|
|
BUG_COMPONENT = ("Testing", "geckodriver")
|
2017-10-25 01:53:02 +03:00
|
|
|
|
2019-02-04 16:28:47 +03:00
|
|
|
SPHINX_TREES["/testing/geckodriver"] = "doc"
|
2017-10-02 21:22:56 +03:00
|
|
|
|
2019-02-04 16:28:47 +03:00
|
|
|
with Files("doc/**"):
|
|
|
|
SCHEDULES.exclusive = ["docs"]
|