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