Fix a test for system properties in frameworks/base/core

Change-Id: Id588d63ae4cae8c25b430c4ff7719173dacc70bb
This commit is contained in:
satok
2011-03-07 11:32:51 -08:00
parent 3fff651497
commit decee8d35b
2 changed files with 5 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
</application>
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.android.frameworks.coretests"
android:label="Frameworks Core Tests" />
android:targetPackage="com.android.frameworks.coretests.systemproperties"
android:label="Frameworks SystemProperties Core Tests" />
</manifest>

View File

@@ -16,6 +16,9 @@ fi
if [[ $rebuild == true ]]; then
make -j4 FrameworksCoreSystemPropertiesTests
TESTAPP=${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreSystemPropertiesTests.apk
COMMAND="adb install -r $TESTAPP"
echo $COMMAND
$COMMAND
fi
adb shell am instrument -w -e class android.os.SystemPropertiesTest com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner