Use GTEST_SKIP for generic crypto tests

Bug: 251240681
Merged from https://widevine-internal-review.googlesource.com/180050

Change-Id: I5aebcf10f9c8bad5ff21c22bc882040ecd0b390a
This commit is contained in:
Vicky Min
2023-07-27 19:01:24 +00:00
committed by Robert Shih
parent 68eb8ee824
commit e7017475b7
4 changed files with 18 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ class WvGenericCryptoTest : public WvCdmTestBaseWithEngine {
void SetUp() override {
WvCdmTestBase::SetUp();
if (!wvoec::global_features.generic_crypto) {
GTEST_SKIP() << "Test for devices with generic crypto API only";
}
EnsureProvisioned();
ASSERT_NO_FATAL_FAILURE(holder_.OpenSession());
ASSERT_NO_FATAL_FAILURE(holder_.FetchLicense());