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 Security Critical: no | 5 Security Critical: no |
6 | 6 |
7 Description: | 7 Description: |
8 This package is the scripts used to run the unit test for Android and from | 8 This package is the scripts used to run the unit test for Android and from |
9 Android Gingerbread. | 9 Android Gingerbread. |
10 | 10 |
11 Local Modifications: | 11 Local Modifications: |
12 There are no local modifications, all files were copied from | 12 1. Added |silent_log| argument to |StartInstrumentation| so that output can be |
13 <android_gingerbread_tree>/development/testrunner/ | 13 suppressed. |
| 14 2. Changed error message handling in |StartInstrumentation| from |shortMsg| to |
| 15 |longMsg| to provide more information when debugging. |
14 | 16 |
15 Here is the detail steps | 17 Here is the detail steps |
16 1. Checkout Android source code | 18 1. Checkout Android source code |
17 | 19 |
18 $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread | 20 $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread |
19 $ repo sync | 21 $ repo sync |
20 $ cd development | 22 $ cd development |
21 $ git reset --hard 76f63551d36b1de63c63f357e5f0646ed8c306bb | 23 $ git reset --hard 76f63551d36b1de63c63f357e5f0646ed8c306bb |
22 | 24 |
23 2. Copy the related files from | 25 2. Copy the related files from |
24 <android_gingerbread_tree>/development/testrunner/ | 26 <android_gingerbread_tree>/development/testrunner/ |
25 | 27 |
26 More information can be found in | 28 More information can be found in |
27 http://source.android.com/source/downloading.html | 29 http://source.android.com/source/downloading.html |
OLD | NEW |