commit | 026c79a48696526389eaaac1523682cf8996710f | [log] [tgz] |
---|---|---|
author | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Mon Nov 09 17:18:28 2015 +0100 |
committer | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Mon Nov 09 17:18:28 2015 +0100 |
tree | 274c7ce066bd3e531e9adff32c1a2959811494cb | |
parent | 0f8277cf254524b874b69330961dd1cd152f736b [diff] |
devtools: new workflow for multiple simultaneous `mojo_run` runs. This patch provides a new workflow for multiple simultaneous runs of `mojo_run`. In the new workflow first instance of `mojo_run` is started normally, while the subsequent ones get the `--reuse-servers` flag. `--reuse-servers` skips spawning any dev servers, instead it assumes that they are already running and only sets up port forwarding if needed. This preserves caching and should work over adb_remote_setup. The previous workaround switches: `--free-ports` and `--free-host-ports` are removed. Fixes https://github.com/domokit/devtools/issues/55 . R=qsr@chromium.org Review URL: https://codereview.chromium.org/1436503002 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: b80202520e08230ac7c114569ffc0840581b4e0c
Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.
git clone https://github.com/domokit/devtools.git
Devtools offers the following tools:
mojo_run
- documentation - shell runnermojo_debug
- documentation - debuggermojo_test
- apptest runnermojo_benchmark
- documentation - perf test runnerAdditionally, remote_adb_setup
script helps to configure adb on a remote machine to communicate with a device attached to a local machine, forwarding the ports used by mojo_run
.
The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.