Fix tests for disabled avb check
<avb> entry is not checked until injected by assemble_vintf.
Bug: 38325029
Test: libvintf_test
Change-Id: I8c4d53de331b41b15aa63b467e2f9aba620fb1bf
diff --git a/test/main.cpp b/test/main.cpp
index 343f327..5f06a8b 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -706,7 +706,8 @@
CompatibilityMatrix cm = testMatrix(std::move(kernel));
EXPECT_FALSE(ki.checkCompatibility(cm)) << "Value shouldn't match for integer";
}
-
+// TODO(b/38325029) enable avb check when avb version is injected to fwk matrix.
+#if 0
RuntimeInfo badAvb = testRuntimeInfo();
CompatibilityMatrix cm = testMatrix(MatrixKernel(KernelVersion{3, 18, 31}, {}));
{
@@ -726,6 +727,7 @@
setAvb(badAvb, {2, 3}, {2, 1});
EXPECT_TRUE(badAvb.checkCompatibility(cm, &error));
}
+#endif
}
TEST_F(LibVintfTest, MissingAvb) {