diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.bp | 2 | ||||
-rw-r--r-- | tests/component/resources_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Android.bp b/tests/Android.bp index 2cfc32572..5165ccb33 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -92,7 +92,7 @@ librecovery_static_libs = [ "libhidl-gen-utils", "libhidlbase", "libhidltransport", - "libhwbinder", + "libhwbinder_noltopgo", "libbinderthreadstate", "libvndksupport", "libtinyxml2", diff --git a/tests/component/resources_test.cpp b/tests/component/resources_test.cpp index 54329db22..d7fdb8fa0 100644 --- a/tests/component/resources_test.cpp +++ b/tests/component/resources_test.cpp @@ -101,7 +101,7 @@ TEST_P(ResourcesTest, ValidateLocale) { EXPECT_LT(0, len) << "Locale string should be non-empty."; EXPECT_NE(0, row[5]) << "Locale string is missing."; - ASSERT_GT(png_->height(), y + 1 + h) << "Locale: " << kLocale << " is not found in the file."; + ASSERT_GE(png_->height(), y + 1 + h) << "Locale: " << kLocale << " is not found in the file."; char* loc = reinterpret_cast<char*>(&row[5]); if (matches_locale(loc, kLocale.c_str())) { EXPECT_TRUE(android::base::StartsWith(loc, kLocale)); |