diff --git a/core/tests/systemproperties/AndroidManifest.xml b/core/tests/systemproperties/AndroidManifest.xml index ad0abf475c9b0..160878839fc05 100644 --- a/core/tests/systemproperties/AndroidManifest.xml +++ b/core/tests/systemproperties/AndroidManifest.xml @@ -24,7 +24,7 @@ + android:targetPackage="com.android.frameworks.coretests.systemproperties" + android:label="Frameworks SystemProperties Core Tests" /> diff --git a/core/tests/systemproperties/run_core_systemproperties_test.sh b/core/tests/systemproperties/run_core_systemproperties_test.sh index 48880f3652fe7..d39adbbfa390c 100755 --- a/core/tests/systemproperties/run_core_systemproperties_test.sh +++ b/core/tests/systemproperties/run_core_systemproperties_test.sh @@ -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