Chromium Code Reviews| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 145 # Set filesystem parameter to continue on errors; Android doesn't like some | 145 # Set filesystem parameter to continue on errors; Android doesn't like some |
| 146 # things e2fsprogs does. | 146 # things e2fsprogs does. |
| 147 tune2fs -e continue android_emulator_sdk/sdk/system-images/android-23/x86/userda ta.img | 147 tune2fs -e continue android_emulator_sdk/sdk/system-images/android-23/x86/userda ta.img |
| 148 ``` | 148 ``` |
| 149 | 149 |
| 150 ## Symbolizing Crashes | 150 ## Symbolizing Crashes |
| 151 | 151 |
| 152 Crash stacks are logged and can be viewed using adb logcat. To symbolize the | 152 Crash stacks are logged and can be viewed using adb logcat. To symbolize the |
| 153 traces, pipe the output through | 153 traces, pipe the output through |
| 154 `third_party/android_platform/development/scripts/stack`. If you build in an | 154 `third_party/android_platform/development/scripts/stack`. If you build in an |
| 155 output directory other than "out", pass | 155 output directory other than "out/{Debug,Release}", pass |
| 156 `--chrome-symbols-dir=out_directory/{Debug,Release}/lib` to the script as well. | 156 `--chrome-symbols-dir=out_path` to the script as well. |
|
agrieve
2015/12/18 20:19:33
I think you should give explicit examples for both
Jeffrey Yasskin
2015/12/18 21:00:06
How's this?
| |
| 157 | 157 |
| 158 ## JUnit tests | 158 ## JUnit tests |
| 159 | 159 |
| 160 JUnit tests are Java unittests running on the host instead of the target device. | 160 JUnit tests are Java unittests running on the host instead of the target device. |
| 161 They are faster to run and therefore are recommended over instrumentation tests | 161 They are faster to run and therefore are recommended over instrumentation tests |
| 162 when possible. | 162 when possible. |
| 163 | 163 |
| 164 The JUnits tests are usually following the pattern of *target*\_junit\_tests, | 164 The JUnits tests are usually following the pattern of *target*\_junit\_tests, |
| 165 for example, `content_junit_tests` and `chrome_junit_tests`. | 165 for example, `content_junit_tests` and `chrome_junit_tests`. |
| 166 | 166 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 See | 288 See |
| 289 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes ts | 289 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes ts |
| 290 | 290 |
| 291 ## Running GPU tests | 291 ## Running GPU tests |
| 292 | 292 |
| 293 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) | 293 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) |
| 294 | 294 |
| 295 See http://www.chromium.org/developers/testing/gpu-testing for details. Use | 295 See http://www.chromium.org/developers/testing/gpu-testing for details. Use |
| 296 --browser=android-content-shell. Examine the stdio from the test invocation on | 296 --browser=android-content-shell. Examine the stdio from the test invocation on |
| 297 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py. | 297 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py. |
| OLD | NEW |