commit | 5497f6cb9f452bf9079d591836cfad37e678138e | [log] [tgz] |
---|---|---|
author | Nate Fischer <ntfschr@chromium.org> | Fri Feb 22 08:32:09 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 22 08:32:09 2019 |
tree | e49dc75b276952511ed65a9d1ef7bd9a2c4748a9 | |
parent | 7b9a7e4625bcce54d85504cec5799a1868679a70 [diff] |
WebView Tools: better output for platform This refactors how we plumb args.platform through run_cts.py, and provides clearer error output: * If your device is higher than the supported platform range, we recommend using the max supported platform * If your device is lower than the supported platform range, explain that we don't support this because WebView is not updatable * If we auto-select a platform, this writes an info log to explain what platform we chose (useful for debugging) This renames --platform to --cts-release, since "--platform" was a bit unclear, and improves the --help description to better explain how to use this. This also adds unit tests for the logic behind the actionable exceptions. Bug: 934170 Test: vpython android_webview/tools/run_cts_test.py Change-Id: I4574ebf1a760c47e6ae09389ebb73b7ece1967d5 Reviewed-on: https://chromium-review.googlesource.com/c/1481076 Reviewed-by: Changwan Ryu <changwan@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#634579}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .