Filter keybox tests with GTEST_SKIP
(merged from go/wvgerrit/183630) Bug: 288404945, 251240681 Test: keybox tests Change-Id: I38ed2ba54c9f756693902fd7d0044d4e42bbc2fd
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
// License Agreement.
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#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"
|
||||
@@ -24,6 +26,9 @@ class CdmOtaKeyboxTest : public ::testing::Test {
|
||||
void SetUp() override {
|
||||
::testing::Test::SetUp();
|
||||
Properties::Init();
|
||||
if (wvoec::global_features.provisioning_method != OEMCrypto_Keybox) {
|
||||
GTEST_SKIP() << "Test for Prov 2.0 devices only.";
|
||||
}
|
||||
const ::testing::TestInfo* const test_info =
|
||||
::testing::UnitTest::GetInstance()->current_test_info();
|
||||
LOGD("Running test %s.%s", test_info->test_case_name(), test_info->name());
|
||||
|
||||
Reference in New Issue
Block a user