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