am 38cc7122: Improve unit test build script
* commit '38cc7122fd9359bbda7428777d03bb51020e0c54': Improve unit test build script
This commit is contained in:
@@ -43,5 +43,21 @@ cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine/test/java/src/com/widevine/
|
||||
pwd
|
||||
mm
|
||||
|
||||
echo "waiting for device"
|
||||
adb root && adb wait-for-device remount
|
||||
|
||||
|
||||
adb push $OUT/system/bin/oemcrypto_test /system/bin
|
||||
adb push $OUT/system/bin/request_license_test /system/bin
|
||||
adb push $OUT/system/bin/policy_engine_unittest /system/bin
|
||||
adb push $OUT/system/bin/libwvdrmmediacrypto_test /system/bin
|
||||
adb push $OUT/system/bin/libwvdrmdrmplugin_test /system/bin
|
||||
adb push $OUT/system/bin/cdm_engine_test /system/bin
|
||||
adb push $OUT/system/bin/file_store_unittest /system/bin
|
||||
adb push $OUT/system/bin/device_files_unittest /system/bin
|
||||
adb push $OUT/system/bin/timer_unittest /system/bin
|
||||
adb push $OUT/system/bin/libwvdrmengine_test /system/bin
|
||||
adb install -r $OUT/system/app/MediaDrmAPITest.apk
|
||||
|
||||
cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine
|
||||
./run_all_unit_tests.sh
|
||||
|
||||
@@ -6,7 +6,7 @@ if [ -z "$ANDROID_BUILD_TOP" ]; then
|
||||
fi
|
||||
|
||||
echo "waiting for device"
|
||||
adb root && adb wait-for-device remount && adb sync
|
||||
adb root && adb wait-for-device remount
|
||||
|
||||
adb shell /system/bin/oemcrypto_test
|
||||
adb shell /system/bin/request_license_test
|
||||
|
||||
Reference in New Issue
Block a user