Fix a test for system properties in frameworks/base/core
Change-Id: Id588d63ae4cae8c25b430c4ff7719173dacc70bb
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user