OLD | NEW |
1 # Android Test Instructions | 1 # Android Test Instructions |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Device Setup | 5 ## Device Setup |
6 | 6 |
7 ### Physical Device Setup | 7 ### Physical Device Setup |
8 | 8 |
9 #### ADB Debugging | 9 #### ADB Debugging |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 build time: | 134 build time: |
135 | 135 |
136 ```sh | 136 ```sh |
137 <output directory>/bin/run_<target_name> [options] | 137 <output directory>/bin/run_<target_name> [options] |
138 ``` | 138 ``` |
139 | 139 |
140 Note that tests are sharded across all attached devices unless explicitly told | 140 Note that tests are sharded across all attached devices unless explicitly told |
141 to do otherwise by `-d/--device`. | 141 to do otherwise by `-d/--device`. |
142 | 142 |
143 The commands used by the buildbots are printed in the logs. Look at | 143 The commands used by the buildbots are printed in the logs. Look at |
144 http://build.chromium.org/ to duplicate the same test command as a particular | 144 https://build.chromium.org/ to duplicate the same test command as a particular |
145 builder. | 145 builder. |
146 | 146 |
147 ### INSTALL\_FAILED\_CONTAINER\_ERROR or INSTALL\_FAILED\_INSUFFICIENT\_STORAGE | 147 ### INSTALL\_FAILED\_CONTAINER\_ERROR or INSTALL\_FAILED\_INSUFFICIENT\_STORAGE |
148 | 148 |
149 If you see this error when the test runner is attempting to deploy the test | 149 If you see this error when the test runner is attempting to deploy the test |
150 binaries to the AVD emulator, you may need to resize your userdata partition | 150 binaries to the AVD emulator, you may need to resize your userdata partition |
151 with the following commands: | 151 with the following commands: |
152 | 152 |
153 ```shell | 153 ```shell |
154 # Resize userdata partition to be 1G | 154 # Resize userdata partition to be 1G |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 `*`AddressDetectionTest`*` | 297 `*`AddressDetectionTest`*` |
298 | 298 |
299 ## Running Blink Layout Tests | 299 ## Running Blink Layout Tests |
300 | 300 |
301 See [Layout Tests](testing/layout_tests.md). | 301 See [Layout Tests](testing/layout_tests.md). |
302 | 302 |
303 ## Running GPU tests | 303 ## Running GPU tests |
304 | 304 |
305 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) | 305 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) |
306 | 306 |
307 See http://www.chromium.org/developers/testing/gpu-testing for details. Use | 307 See https://www.chromium.org/developers/testing/gpu-testing for details. Use |
308 `--browser=android-content-shell`. Examine the stdio from the test invocation on | 308 `--browser=android-content-shell`. Examine the stdio from the test invocation on |
309 the bots to see arguments to pass to `src/content/test/gpu/run_gpu_test.py`. | 309 the bots to see arguments to pass to `src/content/test/gpu/run_gpu_test.py`. |
OLD | NEW |