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