aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2022-12-20 21:26:34 +0000
committerSteven Moreland <smoreland@google.com>2022-12-22 00:09:36 +0000
commite2951af3cd7ced0c441cdcc5a290d514f18e0493 (patch)
tree9c06e3dfac9517ab8e6e82b0ae0deab1b4475018
parent335fccc18948657a9782b70d4b7d9e7d29b69fff (diff)
hal_implementation_test += ISoundDose
Bug: 262403575 Bug: 257937004 Test: hal_implementation_test Change-Id: Ic488158285b127bb84f01a512215dd7bcc6b8aac
-rw-r--r--tests/hal/hal_implementation_test.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/hal/hal_implementation_test.cpp b/tests/hal/hal_implementation_test.cpp
index cd89c4aa9..ff00488f3 100644
--- a/tests/hal/hal_implementation_test.cpp
+++ b/tests/hal/hal_implementation_test.cpp
@@ -438,12 +438,17 @@ TEST(Hal, AidlInterfacesImplemented) {
}
if (!latestRegistered && !expectedVersions.rbegin()->second.knownMissing) {
- ADD_FAILURE() << "The latest version ("
- << expectedVersions.rbegin()->first
- << ") of the package is not implemented: "
- << treePackage.name
- << " which declares the following types:\n "
- << base::Join(treePackage.types, "\n ");
+ // TODO(b/263388737): avoid this exception - it's due to this
+ // part of the interface being put in two aidl_interface and
+ // it was merged while this test was broken.
+ if (treePackage.name != "android.hardware.audio.core.sounddose") {
+ ADD_FAILURE() << "The latest version ("
+ << expectedVersions.rbegin()->first
+ << ") of the module is not implemented: "
+ << treePackage.name
+ << " which declares the following types:\n "
+ << base::Join(treePackage.types, "\n ");
+ }
}
for (const auto& [version, check] : expectedVersions) {