| OLD | NEW |
| 1 # Android Test Instructions | 1 # Android Test Instructions |
| 2 | 2 |
| 3 Device Setup Tests are runnable on physical devices or emulators. See the | 3 Device Setup Tests are runnable on physical devices or emulators. See the |
| 4 instructions below for setting up either a physical device or an emulator. | 4 instructions below for setting up either a physical device or an emulator. |
| 5 | 5 |
| 6 [TOC] | 6 [TOC] |
| 7 | 7 |
| 8 ## Physical Device Setup **ADB Debugging** | 8 ## Physical Device Setup **ADB Debugging** |
| 9 | 9 |
| 10 In order to allow the ADB to connect to the device, you must enable USB | 10 In order to allow the ADB to connect to the device, you must enable USB |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 For a list of valid test types, see `test_runner.py --help`. For | 116 For a list of valid test types, see `test_runner.py --help`. For |
| 117 help on a specific test type, run `test_runner.py <test_type> --help`. | 117 help on a specific test type, run `test_runner.py <test_type> --help`. |
| 118 | 118 |
| 119 The commands used by the buildbots are printed in the logs. Look at | 119 The commands used by the buildbots are printed in the logs. Look at |
| 120 http://build.chromium.org/ to duplicate the same test command as a particular | 120 http://build.chromium.org/ to duplicate the same test command as a particular |
| 121 builder. | 121 builder. |
| 122 | 122 |
| 123 If you build in an output directory other than "out", you may have to tell | 123 If you build in an output directory other than "out", you may have to tell |
| 124 test\_runner.py where you place it. Say you build your android code in | 124 test\_runner.py where you place it. Say you build your android code in |
| 125 out\_android, then do `export CHROMIUM_OUT_DIR=out_android` before running the | 125 out\_android, then do `export CHROMIUM_OUT_DIR=out_android` before running the |
| 126 command below. | 126 command below. You have to do this even if your "out" directory is a symlink |
| 127 pointing to "out_android". |
| 127 | 128 |
| 128 ## INSTALL\_FAILED\_CONTAINER\_ERROR or INSTALL\_FAILED\_INSUFFICIENT\_STORAGE | 129 ## INSTALL\_FAILED\_CONTAINER\_ERROR or INSTALL\_FAILED\_INSUFFICIENT\_STORAGE |
| 129 | 130 |
| 130 If you see this error when test\_runner.py is attempting to deploy the test | 131 If you see this error when test\_runner.py is attempting to deploy the test |
| 131 binaries to the AVD emulator, you may need to resize your userdata partition | 132 binaries to the AVD emulator, you may need to resize your userdata partition |
| 132 with the following commands: | 133 with the following commands: |
| 133 | 134 |
| 134 ```shell | 135 ```shell |
| 135 # Resize userdata partition to be 1G resize2fs | 136 # Resize userdata partition to be 1G resize2fs |
| 136 android_emulator_sdk/sdk/system-images/android-19/x86/userdata.img 1G | 137 android_emulator_sdk/sdk/system-images/android-19/x86/userdata.img 1G |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 See | 256 See |
| 256 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes
ts | 257 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes
ts |
| 257 | 258 |
| 258 ## Running GPU tests | 259 ## Running GPU tests |
| 259 | 260 |
| 260 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) | 261 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) |
| 261 | 262 |
| 262 See http://www.chromium.org/developers/testing/gpu-testing for details. Use | 263 See http://www.chromium.org/developers/testing/gpu-testing for details. Use |
| 263 --browser=android-content-shell. Examine the stdio from the test invocation on | 264 --browser=android-content-shell. Examine the stdio from the test invocation on |
| 264 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py. | 265 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py. |
| OLD | NEW |