| OLD | NEW |
| (Empty) |
| 1 Name: Android Test runner script | |
| 2 URL: http://source.android.com | |
| 3 Version: 3.1.4 | |
| 4 License: Apache Version 2.0 | |
| 5 License File: NOT_SHIPPED | |
| 6 Security Critical: no | |
| 7 | |
| 8 Description: | |
| 9 This package is the scripts used to run the unit test for Android and from | |
| 10 Android Gingerbread. | |
| 11 | |
| 12 Local Modifications: | |
| 13 1. Added |silent_log| argument to |StartInstrumentation| so that output can be | |
| 14 suppressed. | |
| 15 2. Changed error message handling in |StartInstrumentation| from |shortMsg| to | |
| 16 |longMsg| to provide more information when debugging. | |
| 17 3. Applied the patch file patch.diff to fix a race condition and subproccess | |
| 18 bugs in run_command.py. | |
| 19 4. Fixed a bug where wait_time wasn't properly respected in | |
| 20 _WaitForShellCommandContents. | |
| 21 5. Added option to specify the ADB binary that should be used instead of always | |
| 22 using the ADB in the environment path. | |
| 23 | |
| 24 Here is the detail steps | |
| 25 1. Checkout Android source code | |
| 26 | |
| 27 $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread | |
| 28 $ repo sync | |
| 29 $ cd development | |
| 30 $ git reset --hard 76f63551d36b1de63c63f357e5f0646ed8c306bb | |
| 31 | |
| 32 2. Copy the related files from | |
| 33 <android_gingerbread_tree>/development/testrunner/ | |
| 34 | |
| 35 More information can be found in | |
| 36 http://source.android.com/source/downloading.html | |
| OLD | NEW |