Fix arm64 and arm builds.
Change-Id: I2c8c41626768e792f27a2616f2cd5ae66606319d
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp
index 060f7e0..3af9e12 100644
--- a/tests/dlfcn_test.cpp
+++ b/tests/dlfcn_test.cpp
@@ -500,7 +500,7 @@
}
TEST(dlfcn, dlsym_df_1_global) {
-#if !defined(__arm__)
+#if !defined(__arm__) && !defined(__aarch64__)
void* handle = dlopen("libtest_dlsym_df_1_global.so", RTLD_NOW);
ASSERT_TRUE(handle != nullptr) << dlerror();
int (*get_answer)();
@@ -509,7 +509,7 @@
ASSERT_EQ(42, get_answer());
ASSERT_EQ(0, dlclose(handle));
#else
- GTEST_LOG_(INFO) << "This test does nothing on arm (to be reenabled once b/18137520 or b/18130452 are fixed).\n";
+ GTEST_LOG_(INFO) << "This test does nothing on arm/arm64 (to be reenabled once b/18137520 or b/18130452 are fixed).\n";
#endif
}