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:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "create_test_file_system.h"
|
||||
#include "crypto_session.h"
|
||||
#include "oec_device_features.h"
|
||||
#include "properties.h"
|
||||
#include "provisioning_holder.h"
|
||||
#include "test_base.h"
|
||||
@@ -22,6 +23,9 @@ namespace wvcdm {
|
||||
class CdmOtaKeyboxTest : public ::testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
if (wvoec::global_features.provisioning_method != OEMCrypto_Keybox) {
|
||||
GTEST_SKIP() << "Test for Prov 2.0 devices only.";
|
||||
}
|
||||
::testing::Test::SetUp();
|
||||
Properties::Init();
|
||||
const ::testing::TestInfo* const test_info =
|
||||
|
||||
Reference in New Issue
Block a user