diff options
| -rw-r--r-- | libs/binder/tests/binderAllocationLimits.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/tests/binderAllocationLimits.cpp b/libs/binder/tests/binderAllocationLimits.cpp index 6a6e0080a4..bc40864020 100644 --- a/libs/binder/tests/binderAllocationLimits.cpp +++ b/libs/binder/tests/binderAllocationLimits.cpp @@ -180,7 +180,11 @@ TEST(BinderAllocation, InterfaceDescriptorTransaction) { mallocs++; // Happens to be SM package length. We could switch to forking // and registering our own service if it became an issue. +#if defined(__LP64__) EXPECT_EQ(bytes, 78); +#else + EXPECT_EQ(bytes, 70); +#endif }); a_binder->getInterfaceDescriptor(); |