Use GTEST_SKIP for non keybox devices
Bug: 251240681 Merged from https://widevine-internal-review.googlesource.com/179090 Change-Id: I8c539bfbccde7f22fb732951a95715935935858f
This commit is contained in:
@@ -22,6 +22,9 @@ namespace wvoec {
|
||||
class OEMCryptoKeyboxTest : public OEMCryptoClientTest {
|
||||
void SetUp() override {
|
||||
OEMCryptoClientTest::SetUp();
|
||||
if (global_features.provisioning_method != OEMCrypto_Keybox) {
|
||||
GTEST_SKIP() << "Test for Prov 2.0 devices only.";
|
||||
}
|
||||
OEMCryptoResult sts = OEMCrypto_IsKeyboxValid();
|
||||
// If the production keybox is valid, use it for these tests. Most of the
|
||||
// other tests will use a test keybox anyway, but it's nice to check the
|
||||
|
||||
Reference in New Issue
Block a user