diff --git a/tests/Android.build.prebuilt.mk b/tests/Android.build.prebuilt.mk index 2d1255744..09c2366e4 100644 --- a/tests/Android.build.prebuilt.mk +++ b/tests/Android.build.prebuilt.mk @@ -21,6 +21,8 @@ LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_DATA_NATIVE_TE LOCAL_MODULE_PATH_64 := $(TARGET_OUT_DATA_NATIVE_TESTS)/prebuilt-elf-files LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 x86_64 + LOCAL_SRC_FILES_arm := prebuilt-elf-files/arm/$(bionic_tests_module) LOCAL_SRC_FILES_arm64 := prebuilt-elf-files/arm64/$(bionic_tests_module) LOCAL_SRC_FILES_x86 := prebuilt-elf-files/x86/$(bionic_tests_module) diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp index 68827fa7e..9f1b401e7 100644 --- a/tests/dlfcn_test.cpp +++ b/tests/dlfcn_test.cpp @@ -1144,7 +1144,7 @@ TEST(dlfcn, dt_runpath_absolute_path) { } // Bionic specific tests -#if defined(__BIONIC__) +#if defined(__BIONIC__) && !defined(__mips__) #if defined(__LP64__) #define NATIVE_TESTS_PATH "/nativetest64"