Skip test case for AVF since those are not supported.
BUG: 308586759
Test: atest librkp_support_test
Change-Id: Iba47f0cc4284fa684e4e72667e9e553841087475
diff --git a/provisioner/support/test.cpp b/provisioner/support/test.cpp
index 418eab9..0e6e2f4 100644
--- a/provisioner/support/test.cpp
+++ b/provisioner/support/test.cpp
@@ -34,6 +34,10 @@
public:
virtual void SetUp() override {
auto rpcName = String16(GetParam().c_str());
+ String16 avfName = String16(IRemotelyProvisionedComponent::descriptor) + String16("/avf");
+ if (avfName == rpcName) {
+ GTEST_SKIP() << "Skipping test for avf";
+ }
rpc_ = android::waitForService<IRemotelyProvisionedComponent>(rpcName);
ASSERT_NE(rpc_, nullptr);
}