Skip OTA test if not supported am: 2f57079f6a am: 76bbdba1e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/16507241 Change-Id: Ib62bd5f289d770dbcc865ae4b77fd30e8d1ea461
This commit is contained in:
committed by
Automerger Merge Worker
commit
0b0b1abdb4
@@ -184,7 +184,12 @@ TEST_F(OTAKeyboxProvisioningTest, BasicTest) {
|
||||
<< "Keybox valid after initialization. Skipping rest of test." << endl;
|
||||
return;
|
||||
}
|
||||
ASSERT_EQ(result, OEMCrypto_ERROR_NEEDS_KEYBOX_PROVISIONING);
|
||||
if (result != OEMCrypto_ERROR_NEEDS_KEYBOX_PROVISIONING) {
|
||||
cout << " "
|
||||
<< "OTA Keybox functions not supported. Skipping rest of test."
|
||||
<< endl;
|
||||
return;
|
||||
}
|
||||
cout << " "
|
||||
<< "OTA Keybox functions supported. Device needs provisioning." << endl;
|
||||
// TODO(fredgc): Make sure that partners can use a test cert when use_test_key
|
||||
|
||||
Reference in New Issue
Block a user