diff --git a/libwvdrmengine/cdm/core/test/policy_integration_test.cpp b/libwvdrmengine/cdm/core/test/policy_integration_test.cpp index 7313f4ee..ed523ff6 100644 --- a/libwvdrmengine/cdm/core/test/policy_integration_test.cpp +++ b/libwvdrmengine/cdm/core/test/policy_integration_test.cpp @@ -173,6 +173,9 @@ TEST_F(CorePIGTest, OfflineHWSecureRequired) { // Should be able to request license, perform playback, generate a license // release, and receive the release response. TEST_F(CorePIGTest, LicenseRelease1) { + if (!wvoec::global_features.usage_table) { + GTEST_SKIP() << "Test for usage table devices only."; + } LicenseHolder holder("CDM_UnlimitedStreaming_can_persist", &cdm_engine_, config_); holder.set_can_persist(true); @@ -194,6 +197,9 @@ TEST_F(CorePIGTest, LicenseRelease1) { // Should be able to request license, wait some time, generate a license // release, and receive the release response. TEST_F(CorePIGTest, LicenseRelease2) { + if (!wvoec::global_features.usage_table) { + GTEST_SKIP() << "Test for usage table devices only."; + } LicenseHolder holder("CDM_UnlimitedStreaming_can_persist", &cdm_engine_, config_); holder.set_can_persist(true);