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 |
| 20 _WaitForShellCommandContents. |
19 | 21 |
20 Here is the detail steps | 22 Here is the detail steps |
21 1. Checkout Android source code | 23 1. Checkout Android source code |
22 | 24 |
23 $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread | 25 $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread |
24 $ repo sync | 26 $ repo sync |
25 $ cd development | 27 $ cd development |
26 $ git reset --hard 76f63551d36b1de63c63f357e5f0646ed8c306bb | 28 $ git reset --hard 76f63551d36b1de63c63f357e5f0646ed8c306bb |
27 | 29 |
28 2. Copy the related files from | 30 2. Copy the related files from |
29 <android_gingerbread_tree>/development/testrunner/ | 31 <android_gingerbread_tree>/development/testrunner/ |
30 | 32 |
31 More information can be found in | 33 More information can be found in |
32 http://source.android.com/source/downloading.html | 34 http://source.android.com/source/downloading.html |
OLD | NEW |