Disable OEMCrypto tests that install a test keybox.
Because we do not want to accidentally install a test keybox on a production device, most of the oemcrypto unit tests are being disabled by default. If you wish to run these tests, you can override this choice, by running: adb shell /system/bin/oemcrypto_test --gtest_also_run_disabled_tests This change prompts for and requires positive confirmation before running the disabled tests on a device that has a non-test keybox already installed. Bug: 8907626 Merge of https://widevine-internal-review.googlesource.com/#/c/5531/ from the Widevine CDM repository Change-Id: Ib8e3605129ebf0861b4af15d04676f7a06cc5b78
This commit is contained in:
Binary file not shown.
@@ -4,8 +4,7 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SRC_FILES:= \
|
LOCAL_SRC_FILES:= \
|
||||||
oemcrypto_test.cpp \
|
oemcrypto_test.cpp
|
||||||
oemcrypto_keybox_test.cpp
|
|
||||||
|
|
||||||
LOCAL_MODULE_TAGS := tests
|
LOCAL_MODULE_TAGS := tests
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,7 @@ fi
|
|||||||
echo "waiting for device"
|
echo "waiting for device"
|
||||||
adb root && adb wait-for-device remount && adb sync
|
adb root && adb wait-for-device remount && adb sync
|
||||||
|
|
||||||
|
adb shell /system/bin/oemcrypto_test
|
||||||
adb shell /system/bin/request_license_test
|
adb shell /system/bin/request_license_test
|
||||||
adb shell /system/bin/policy_engine_unittest
|
adb shell /system/bin/policy_engine_unittest
|
||||||
adb shell /system/bin/libwvdrmmediacrypto_test
|
adb shell /system/bin/libwvdrmmediacrypto_test
|
||||||
|
|||||||
Reference in New Issue
Block a user