Use GTEST_SKIP for session tests
Bug: 251240681 Merged from https://widevine-internal-review.googlesource.com/180010 Change-Id: I39e5c0365a5e0c2ddf62e6f68426f6baa3ddd1a1
This commit is contained in:
@@ -98,6 +98,10 @@ class OEMCryptoSessionTestsDecryptTests
|
||||
protected:
|
||||
void SetUp() override {
|
||||
OEMCryptoLicenseTestAPI16::SetUp();
|
||||
if (wvoec::global_features.derive_key_method ==
|
||||
wvoec::DeviceFeatures::NO_METHOD) {
|
||||
GTEST_SKIP() << "Test for devices that can derive session keys only.";
|
||||
}
|
||||
pattern_ = ::testing::get<0>(GetParam());
|
||||
cipher_mode_ = ::testing::get<1>(GetParam());
|
||||
decrypt_inplace_ = ::testing::get<2>(GetParam()).decrypt_inplace;
|
||||
|
||||
Reference in New Issue
Block a user