mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
cba312f33b
This patch makes testing/marionette/harness/marionette/runner/httpd.py capable of spinning up an HTTPS server with self-signed certificate. It also introduces testing/marionette/harness/marionette/runner/serve.py that is capable of managing the HTTP- and HTTPS fixture servers as subprocesses, allowing them to operate independently. serve.py uses inter-process communication based on channels (from `multiprocessing.Pipe`) to query methods on the httpd served in each process, which is used to get absolute URLs from the main process. This is useful as servers can delegate port allocation to the system socket service by atomically binding to port 0, guaranteeing that the chosen port is uncontested. It is also used to perform synchronous and graceful shutdown of the httpd. MozReview-Commit-ID: 9OlW6F1w0AN --HG-- extra : rebase_source : 5ae8b0f100a28b8d34f87b0868cde6d74c150602 |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
docker | ||
firefox-ui | ||
gtest | ||
instrumentation | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
puppeteer | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
xpcshell | ||
cppunittest.ini | ||
mach_commands.py | ||
README.txt | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff