| commit | b373ae3d2e6b4218911adb54467ad6f9af2b25d3 | [log] [tgz] |
|---|---|---|
| author | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Thu Jul 16 16:52:01 2015 +0200 |
| committer | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Thu Jul 16 16:52:01 2015 +0200 |
| tree | 1b8d45f2cde6bbca317325831d7f3740310ddc08 | |
| parent | d94fd91ebbc57350497f947401037f3f8ed72923 [diff] |
Extract the shell runner into devtools. In this patch, mojo/tools/mojo_shell.py is moved to devtools. Default output paths corresponding to a regular Mojo checkout are inferred, so that it continues to work out-of-the-box there. In the next step we will make it easier (in particular, possible) to use the runner outside of the regular Mojo checkout too (allow to indicate some paths by hand, allow to run against already installed device Mojo Shell, etc.) R=qsr@chromium.org Review URL: https://codereview.chromium.org/1242453003 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: 524585020ad434dc3b11004f3baa178a310cbf43
Unopinionated tools for running, debugging and testing Mojo apps.
Devtools offer the following tools:
and a Python scripting library designed for being embedded (devtoolslib).
devtoolslib is a Python module containing the core scripting functionality for running Mojo apps: shell abstraction with implementations for Android and Linux and support for apptest frameworks. The executable scripts in devtools are based on this module.
As devtools carry no assumptions about build system or file layout being used, one can choose to embed the functionality provided by devtoolslib in their own wrapper, instead of relying on the provided scripts. For examples, one can refer to mojo's apptest runner.
git clone https://github.com/domokit/devtools.git
The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.